defensiveness
When someone is defensive, they are usually trying to protect themselves or their beliefs. They may be angry or hostile, and they may not want to listen to what others have to say.
He became defensive when he was asked to comment on the article.
She became defensive when she was questioned about her qualifications.