Strong emotions can take over before your thinking catches up
From Emotional Intelligence by Daniel Goleman
Goleman popularised the idea of an 'emotional hijacking'. The amygdala, a part of the brain involved in detecting threats, can trigger a powerful reaction before the more reflective parts of the brain have weighed in. That's how people snap, say something they regret, and only later wonder why.
The point is not that emotions are bad, but that the first surge is fast. Recognising the signs, like a racing heart or a flash of heat, gives you a chance to pause before acting.
Apply it
Learn your own early warning signs of anger or panic. When you notice one, take a few slow breaths before you speak or type.