When a character says one thing but means something else, it is called
O tragic irony.
Overbal irony.
O dramatic irony.
situational irony.