I work in an admnistrative office on a university campus. Work from home was great for IT folks, but not so much for a lot of regular staff. Some people had young children that didn't understand that "you can't bother mommy or daddy right now" and it was a constant fight. Some of them had to use their own computers to connect to their machine at work through a vpn, and had a lot of trouble getting that to work. Some had noisy roommates, some of them had problems "turning off" at the end of the day. Some of them had to call students back and didn't have a private place to have those conversations.
There were some that enjoyed it, of course. Also, most everyone in the office loved using Teams to stay connected and it's still used for everything even after we've been back in office for years at this point.
But not everyone lives in an environment where they can just set up a chair on the deck and sip wine while they work on their items for the sprint.
It was a pretty easy sell getting workers back in the office for us. It helped that most people lived less than a 10 minute drive away.