The reason is money. Companies intentionally fire people who are worth more because they have to pay them more.
They care only about short-term changes to the balance sheet to keep shareholders and bookkeepers happy. Sure the knowledge deficit might affect long-term profitability, but that's a problem for another day. The underlings can figure that part out, and if they can't, they'll just get laid off too.