Folks are treating the recent tech layoffs as something spontaneous. They were not. The current layoffs were orchestrated by a hedge fund (TCI Fund).
This hedge fund demanded that the big tech companies lay people off because they were being paid too much. Let that one sink in: a hedge fund manager saying that you're being paid too much.
Note that TCI is demanding that Google lay off more people.