In any healthy, well-functioning democracy, when things go terribly wrong, heads roll.
Not literally, of course. People resign. The military leaders and government officials honorably take the responsibility for the disaster and resign. And if they don't resign, they are fired.