There’s some research that suggests WFH is less efficient per hour worked, but people work more hours that they would have otherwise wasted commuting so it’s a wash.
That said, the motivations of managers are seldom aligned with the interests of the business. There is such a thing as ego trips. Also, mediocre or insecure managers will rely more on the crutch of face time.