C2 noun /ˌɪnkənˈɡruːəti/
incongruity
Meaning
The state of being inconsistent or out of place.
Example
The incongruity of his cheerful mood during the funeral shocked everyone.