ZIRP, IRS Section 174, and irrationally exuberant over hiring caused the first few rounds of layoffs.
The layoffs you see now are due to offshoring disguised as AI taking over. Google, Amazon, and even Hollywood are getting in on the offshoring craze.