Any space where you're put in prolonged stationary close proximity to a few people. It just naturally evolves that way, especially if there's a lot of regulars, or a specific thing to start a conversation about provided.
That's also why small towns end up with a reputation for friendliness. It's just a situation that happens a lot, and then that trains people to strike up conversation more often in general.