Cities benefit from people being in office and thus, in the city spending money. In 2024, SF had a new business tax plan to incentivize employers to bring people back to the office, and I wouldn't be surprised if other cities did similar.
https://www.sfchronicle.com/sf/article/s-f-economy-tax-plan-...