It is by nature. Being cast out from the group is literal death for all but the most recent of our evolutionary and social history. Same reason you get a fight-or-flight response to social slights or when your boss lights into your ass. A big chunk of your brain is still afraid because it associates social disapproval with exile and subsequent death.