It muddies things up a lot that folks are using the word “bailout” to mean both “rescuing the bank’s customers” •and• “rescuing the bank corp and its owners.” Those are two very different things! Conflating them up does not help.
People who treated the bank as a bank in good faith when they deposited money there should not lose their money. That seems to me to be both ethical and what stops the contagion.
Folks who thought they could run a bank and just couldn’t hack it should hang out to dry.