Instead, judge them on their intentions.
99% of people have the best of intentions 99% of the time. Even if someone annoys, frustrates or upsets you, it’s unlikely that’s their intention.
Could you have unintentionally said or done something to trigger their negative reaction? Are other pressures affecting how they communicate and their decision-making?
If someone at work has a negative impact on you, you carry the emotional burden. And multiply that burden by the 10 other times it happens (or 100, or 1000 times), that can become a major burden.
It’s normal to have challenging conversations at work. Remember though, you’re free to interpret these however you want and choose your own conclusions.