My honest opinion is that most people that enjoy the office enjoy it because it's where they've gotten most of their socialization in their adult lives. As a result, they haven't built up lives outside of work. To make matters worse, our communities haven't developed to support people having "lives" outside of work (at least out here in the suburbs).
My hope is that as remote work becomes more prolific, people will rely on their local communities more for their social lives and all of these wonderful small towns will thrive again.