When you purchase stock in a bank, there is a reasonable expectation that your investment could lose value.
When you deposit money with a bank (in the United States in 2023), you basically never consider the possibility that you might not get it all back.
You can certainly argue that the expectation isn't fair, but I'm pretty confident it's nearly universal.