contraintention
When the impact of an action or statement is the opposite of the intention behind the action/statement.
Congress passed a contraintenetional that law was meant to help the migrant population, but it backfired ended up harming them.
When he realized his joke was contraintentional when he expected she would laugh but she started to cry.
When he realized his joke was contraintentional when he expected she would laugh but she started to cry.