The answer is: Irony
The Irony is for definition the difference between reality and appearance, there is the verbal irony, where the words said has a different meaning that the literal one, and the situational irony, that is when a situation ends different than the expectations previously settled, in this case we can identify a ‘situational irony’