This is a very interesting way of putting it.
The way I’ve explained it is “unserious surprise” which also fits with this.
https://emnudge.dev/blog/a-grand-theory-of-humor/