I believe this one would fall under "incongruity theory"
https://en.wikipedia.org/wiki/Theories_of_humor#Incongruity_...