It’s a skill or habit, a mindset that most of us develop only over time with cultivation, practice. It’s also a rather liberating achievement to the extent you can master it. Armor!
Don’t take anything personally. Nothing others do is because of you. What others say and do is a projection of their own reality, their own dream. When you are immune to the opinions and actions of others, you won’t be the victim of needless suffering. — Miguel Ruiz