A school dance isn’t just a date, it’s a social event. The US doesn’t really have a lot of public social rituals, so a school dance is a unique kind of social experience that doesn’t really exist outside of school. It probably wasn’t as big when there were town festivals and church holiday events where everyone knew each other, but over time the school dances have become the only thing left.