Plausible deniability. So, yes, sure, the generals decided to do this putting their careers at risk if/when discovered.
And when the civilian government found this out, where was the indignant outrage that we could expect for what was clearly military insubordination?