I would say cause it nature. Basically, man is created as a leader/head of family in many cultures and they want to dominate. Domination is the part of leader's personality, also domination create egoistic. But not all men like that, some of them able to understand other well. Somehow, Egoistic person is lack of understanding and compromise to other
Twinkles_95