It is because when rubber meets the road and money dries up some, they cut exactly 5000 people, no more no less. Clearly there is zero grasp on actual capabilities of a given employee. They are seen as numbers in aggregate. A large pool where each part is fungible with any of the rest. A Joseph Stalin worldview I suppose, where people are reduced to statistics one can toss out without emotion.
It is not an environment where you are motivated to do your best work. You'd have to have a screw loose actually to go above and beyond in these places. Working hard gets you nowhere here, just spins your wheels in the mud.
There are certainly places that do value your contributions, but they aren't ever going to be the sort of shops that have newspaper headlines announcing a perfectly even number of layoffs ahead of earnings.