Sometime the people you work with are your friends. And sometimes people like to go out with their friends.
Companies that disallow alcohol will have a hardier time attracting employees, as that kind of uptight company doesn't sound like it would be pleasant to work at.