Good question..
I assume that the original Sunset before escaping to the human world thru the mirror (happens before EG first movie) had serious ego issues due to self isolation as Celestia direct student. That caused her to have zero friends on one side and extreme competitive attitude on the other.