Many of us asked that question. I wondered it. "Why am I going to work for someone who lays off people when they do bad?". Many of us took the job.
A shoddy product because they let greed blind them is costing the company. And now they might lay off engineers.
If I get laid off, I'm not coming back, I'll take my skills to another company, aerospace or non aerospace, you can apply engineering to many products.
Article recently stated that aero and mech engineers are starting to be in high demand in the Silicon Valley due to a hardware renaissance. Oh well.