I'm unnecessarily rude and snappy to people and I don't like it.
How do you feel right after you are mean to others?
Depressed. I start to cry after I'm rude to another human being.
It is good that you recognize that you are not being fair to others and that you should be better. It will help people to know that you feel bad about it and it might save your friendships.
Fuck what is wrong with me? I just want to be better than everyone.
Your ego seems to be getting in the way of treating others respectfully. You might be doing this subconsciously without thinking it through. Try to make an effort to approach others with a smile and friendly compliments instead.