For many people, their coworkers are their main group of friends. I personally would have fewer friends if I worked remotely. If I was married, I would prioritize my family over my friends, and would likely prefer remote work.
This is really true. I made amazing friends at my first 2 jobs and since then, nothing but work. The culture has changed as well for the last 10 years. Colleagues don't even say "hi" anymore. When you're already established in your life you usually don't have time to make friends at work.