The first banks whose investments fail to yield Pangloss returns get bailed out, but the cost of the bail-outs reduces governments' willingness to provide future rescues.
Without those implicit government guarantees, Pangloss values collapse, leading to a general fall in asset prices, which in turn, leads to loan defaults and losses for the banks.