relievedfromstrainorstress
Rather than saying the relief is what makes the situation humorous, I would be more willing to believe that the humour makes me feel more relieved about the situation.
Or maybe seeing something unexpected would cause you to be relief, and because you're not as tense as before, you're able to laugh and see the humour in it?