The brain process that results in a joke materializing where no joke was before remains a mystery. I'm not aware of any scholarly, scientific or neurological studies on the subject.
Dick Cavett (2010). “Talk Show: Confrontations, Pointed Commentary, and Off-Screen Secrets”, p.52, Macmillan