I mean objectively the bank bet that interest rates wouldn't go up, they took a massive unhedged position in exactly that.
I hope the bank thought it was betting, because if they didn't realize they were betting on interest rates staying low then that is a shocking level of incompetence. They probably thought it was a safe bet, but it was a bet nonetheless with obvious risk if they were wrong.