This isn't a lack of understanding. It's the principal-agent problem.
Non-founder executives are usually rewarded for short term results. They'll deliver on this even if it means laying off the entire Python language team in the midst of an AI boom. The market is bad at distinguishing these growth hacks for sustainable business, so they'll see 4% quarterly growth and pile on under the assumption that the hockey stick is going up.
By the time reality catches up management has already cashed in their chips.