The layoffs will continue until (investor) morale improves
The case of Amazon amazes me.  This is the company that famously refused to worry about what investors thought 20+ years ago and just kept on being unprofitable (and instead, investing heavily in growth) to the considerable benefit of investors who stuck with them.Google is crazy too: they will spend more on stock buybacks than they will save through the layoffs, yet are investing nothing in fixing their actual, deep structural problems.