i also think theres an inherent bias that 'leaders' tend to be more extroverted and see more value in people 'being together', and to an extent, at least in my observed experience, are unwilling to acknowledge the fact its not the same for everyone
It is downright malicious in many cases, though. A lot of times, business owners will be renting the property their office is based out of, and that property ends up being owned by a family member or friend (or they themselves) who then get to bill the company for quite a sum without that being considered payroll. If they lose the office, they lose money, and that's all they care about.
I'm deeply introverted but prefer in-office. I'm in a leadership position and gently encourage staff to work in office too when possible. It's not for socializing and awful pizza parties, and you don't have to tell me about your weekend hobbies if you don't want to.
For me it's mainly because my work requires technical skills, problem solving, and creativity, which means it's very helpful for me to know my staff really well in order to properly review their work. If I see something that looks odd it's really helpful to know 'Mary did this and that's her strength so I'm probably wrong' or 'Steve did this and he sucks in this area so it probably is wrong' etc. WFH removes all that and everyone is just a disembodied talking head, or worse, emails and texts only, so I have no idea who I'm talking to.
I truly get the allure and I still wfh when appropriate but again I encourage in office as much as possible.