Everyone can be a friend when it's easy and convenient. It's during the bad times, when they suffer and it's not so easy to keep cool, that their true values or lack of come to light.
Being unable to admit they are wrong or don't know something. I feel like it's one of those traits that snowballs into someone coming off as obnoxious and elitist
I'd say it's when they get angry when you tell them the impact their behavior is having on you, instead of actually trying to have a discussion and sort the problem out.
Or they get angry with you for enforcing your boundries.
Earlier today, someone told me that they'd wish someone were no longer living if they mentioned liking a certain type of pizza. It definitely wasn't said in a joking tone either (not that I'd really want to be around someone who made that type of "joke" in the first place) - that was a pretty obvious indicator that they were a bad person in my book.
It was done under the guise of "I don't like to sugarcoat things" 🙄