Deposit insurance changes the behavior of both banks and depositors.