You do realize that people who WFH have friends and communities outside of work, right?
I'm not saying forced daily association is the way to make them friends, but you can see the logic behind trying to encourage it.
Professionalism and trust result in more productivity - not necessarily friendship
It’s a firms way to gain productivity. Especially after preventing you from socializing near your home.
Wow, uh, maybe we should be against team building in principle.
Granted, I've seen how our developers rarely make friends with each other, so it may be more of a sales/HR/product thing than engineering.