Answer is: reaction formation.
Reaction formation is a type of defense mechanism. Person acts in the exact opposite manner to his own upsetting (do opposite of what they really want). Person with this behavior is often unconscious of his action and sometime this reactions are exaggerated.