AAA profits are higher than ever. Layoffs are tremendously inefficient. They do nothing to reduce costs long term, and can actually lead to increased costs. There is a good amount of economic research which demonstrates that.
Layoffs are corporatist virtue signalling.