We have no idea why we laugh or why jokes work:

Laughter is one of the most treacherous of all fields of history. Like sex and eating, it is an absolutely universal human phenomenon, and at the same time something that is highly culturally and chronologically specific.