Google has been over-hiring for years. While there are definitely projects that felt understaffed, there are just as many where you'd join a team and look around and really have no idea what you should be doing with yourself because all the work seemed spoken for.
Honestly, 90-ish% of Google's revenue comes from ads. Almost every other product area there is just a financial loss unless it's supporting search&ads. They keep making "bets" to try to diversify the revenue stream, but it never works. Hence why I don't think this will be the last round of layoffs.
It will be interesting to see how this shakes out and what parts of the org and what roles this affected.
(Worked there for 10 years, so find this all... sad and interesting)