Think of it from the opposite direction - a requirement for forming and maintaing friendships is that you get to spend time with someone and interact with them on a regular basis. That makes work one of the most likely places to form friendships for adults.