A riddle comes up in the development of the story, which gives the audience a sense of instability, but later, when the solution comes, people regain their sense of stability and laugh.
物事の展開が観客にとっての謎を生むことで心理が不安定に傾き、その後に謎が解決して安定することで笑いが起きる。