And of course the next guy won't get promo for maintaining the last guy's thing, so he's incentivized to nuke it and build his own shiny thing.
This can be observed in any large company though, not just Google.
Add to that a healthy dose of toxic positivity and "blameless postmortem" culture, and the fact that you created the product can actually still be used as a good thing on your CV. You did fantastic work! The product was flawless! It just happened to be a total failure for... some unrelated reason. "Shifting business priorities", maybe, or "unforeseeable macroeconomic conditions".
Moreover, the canning of a project might have plethora of reasons, not all of them are even technical or have anything to reflect on the people that worked on it.
You'd think after all this time senior management, both internal and external, would see through this charade, but that is not apparently the case.