The correct answer is reaction formation
Reactive formation is a defense mechanism that occurs when a person feels a desire to do or say something but says the opposite. Reactive formation appears as a defense against a feared social punishment. If I fear that I will be criticized for anything, I very visibly act in a way that shows that I am personally out of the way of the feared position.
A common pattern in reactive formation is where a person uses "excessive behavior", for example, using exaggerated sympathy when the person is really feeling hostile.