Just to point out, latest research shows productivity is a wash. Essentially, experienced workers saw productivity boost, while new hires since WFH have shown low productivity growth over the last 3 years. The leading theory is experience sharing that happened in person, in a casual manner, had a much larger impact in growing the company talent over longer terms.
Firms need to adapt to keep their talent competitive. Some firms choosing to go back to office is just one strategy.