Workers cost money. Layoffs don't just happen, they happen when management is under pressure, usually because they won't make payroll in a couple months, occasionally because the stock market demands better margins.
I get that you have no experience at that level of a company but you could spend some time researching it.
https://chatgpt.com/share/67cdcf56-a24c-8006-bc54-b2bcccfa7c... Inb4 chatgpt, it knows a lot more than op here.
It always strikes me as weird when a product fails and the decision is to eliminate everyone from the product manager down... and then make no other changes. Then they bring in completely new people for whatever the new product line is. Sometimes, sure, an individual or group might cause a product to fail that should otherwise succeed. But it's weird to default to the production team. Is it a design problem? A maintenance problem? A product price problem? A sales and marketing problem? A management problem?
Like, the Pontiac Aztek did not do badly because one welder from Mexico screwed it up. It failed because it was ugly. It was ugly because the styling didn't survive the requirements to use the same parts as the Buick Rendezvous and the same basic platform as the Pontiac Montana. The process of making that vehicle fit into GM at that time killed the product. Today the Chevrolet Equinox, a direct descendent, is one of the best selling vehicles on the road at a time when there's a lot more competition.