"I evaluated every role in the company and its relationship to solving important supply chain problems for our customers, which made me realize that myself and the entire C-suite are useless parasites, but we have to cut costs somewhere, so ¯\_(ツ)_/¯"
That's more of a tantrum move than a financial strategy move. It would likely have saved the company money of these two stayed on to help with the post-layoff chaos and prepare for the next round where they'd then depart and be done. That said, maybe their golden parachutes were large enough they opted to leave.