The CEO isn't an all knowing entity. It's possible they made a judgement call and were wrong.
Would you prefer that companies be absolutely sure before they hire anyone to ensure layoffs never happen? It seems like the end result would be less hiring / more people without work.