In a city like New York, living day to day life across many physical spaces is a core part the experience. In fact it's one of the major draws. The park is your front lawn, the cafe your breakfast nook, the theater your living room, and the office is... your office.
Remote work is great and all if that's not the lifestyle you want, and I think the pandemic has perhaps shown that many were living this lifestyle who didn't want it (especially if you were living the quasi-bedroom-city life of SFBay where you slept in SF but commuted out of the city daily for work), but Google embracing the deeply social and physically connected lifestyle of a functional city like New York isn't really a rejection of remote work being viable-- it's just accepting that to many, this type of city life is preferable and having a physical space to do your work provided by your employer is part of what makes that so.