antilogy
/æn.tɪˈlɒd.i/Definitions
1. noun
A statement or proposition that is the opposite of what was expected or intended, often used in a literary or rhetorical context.
“The politician’s speech was an example of antilogy, as it contradicted his previous statements on the issue.”