What is the definition/terminology of someone trying to help you but gets annoyed of helping you?

In my case I found out someone close to me, who was trying to help me emotionally. Seemed firm, critical and judgmental. While lecturing me of how I think or feel.

But I kept overlooking their opinions of me. Because they were getting professional help themselves.

Till recently I opened up about a issue I was having with my anxiety. The person was lecturing me harshly and someone questioned their actions. Then that person got defensive and started yelling that them helping me is too much for them.

I mean, why help someone if it bothers them?
What is the definition/terminology of someone trying to help you but gets annoyed of helping you?
Post Opinion