In most knowledge work - not just Google - you're fine as long as you're either putting in effort or getting results. After all, software development has plenty of risks, it's possible to fail to deliver for many reasons other than being lazy. But when you are neither putting in effort nor getting results, that's when you're at risk of getting fired, because the company starts to wonder why they're paying you. Remote work makes it much harder to observe the "putting in effort" piece.
I don’t get it. There’s code and working features. That’s the result.
It's not just about the code, it's also about the culture.
Non-performing staff could be non-performing for different reasons - not just output - and it's often easier to spot those reasons (and address them) when you're working in the same office.
Source: I've been running a company with hybrid in-office + remote staff for 15 years. Would be happy to expand on the above if asked.
Why not?