Twitter under Elon was just ahead of the curve!
But I strongly suspect that Elon’s Twitter is a major impetus for these staff reductions (at least with Meta). See, there is now competition, and other sites have “lean up” and get more efficient in order to compete–in order to even survive.
Facebook parent Meta announced a layoff of about 10,000 employees while closing an additional 5,000 open jobs. It was the second round of mass layoffs, after 13 percent of its staff, or 11,000 workers, were laid off in November last year. [emphasis added]