Probably for the same reason that Google is shutting down Stadia [1] and cutting staff [2], and the same reason that we see roughly one announcement of layoffs here on Hacker News every week: most people expect that we are going into a recession. For example, see the price of major indexes like the S&P 500 or the NASDAQ and plot it on a 10+ year timescale.
What surprises me the most actually is how quickly Google can adapt to the situation. Basically, they have been giving out candy for free when there was lots of money coming and now that they expect less, they quickly put on extra income streams and cut out money losers.