Can’t wrap my head around why people can be straight up mean if they are not insecure. Why are people mean when they aren’t insecure?

Understand if you get into an argument and let your feelings get out of control and you say something that is out of line because of the anger. But some is straight up mean, why’s that?