Curious 🤔🤔

This is very random but I was just wondering when two people are arguing whose together , when they shout out of anger do they really mean the things they say or do it only be said out of anger, like do they say hurtful things just because they are hurt? I was always told that hurt people hurt people