To explain in more detail the inner need to belong, which was originally from a survival instinct makes you feel ok with something as long as the group feels it's ok. The bigger the group the more people will take on that identity and act up as well.
This group identity makes people feel safe from individual persecution while Believing that they need to act with the group. With the size of a huge sporting event, people feel even less individually identified.