I'm convinced that the main reasoning behind this is that it implicitly keeps employee retention higher than with WFH, where employees are free to learn skills that are beneficial to THEM in their free time, and interview much more easily for new/better roles.
This is one of the primary contributors to the decision, not only the free time/etc. contribute to the higher retention but also the sense of beloning, and friendships that are made in workplaces.