If we track online sales as a proportion of all sales over the last 20 years, there's a pretty stable trend of increase. Then COVID hit, lockdowns, and we saw a 5-6 year jump ahead. Big question: How much of this is temporary, and how much is permanent? Maybe people discover that grocery delivery is way better than going to the store and never stop.
Imagine if you bet against it being permanent, and you were wrong? Your company just lost out on a massive opportunity- a CEO that does that would be worried for their job. And if you bet for it being all permanent and are wrong, well, you just have to lay off a few people.
They all bet that this was a permanent 5-year jump-ahead. They were wrong, there was no jump-ahead. Now there's a looming recession. Everyone has too much headcount. And for publicly traded companies, there are shareholders who will demand that something be done to prove you're not going to bankrupt the company.
To minimize the PR hit, everyone quietly announces their layoffs just after someone bigger than them does, so that they aren't the headline in the news tomorrow.