Answer:
Irony
Step-by-step explanation:
In literature, Irony is a figure of speech that expresses an incongruity between the actual result of a sequence of events, and the expected or traditional result of the events; it also refers to the incongruity between the literal meaning of what we say and the real meaning of our words. Thus, what Alex learned is this type of contradiction called "Irony".