I think some companies have layoff FOMO. Even if they can afford their current staff, they can't stand their competitors saving so much money that they want to save some too. Now is their chance to do it, because with so many companies laying off they would not look too bad doing the same. If you're the only one doing it, then people think your company is in trouble.