Stupid question but why were they buying bonds when interest rated was near 0? Were they betting on negative interest rates?
That 1.x% on that huge amount would be over $1 Billion per year.
It's a mismatch in terms of the duration, ie your depositors can ask for their money back at any time but the bonds don't mature for many years, but as long as the deposits are kept there the bank can get away with it.
The succinct answer is: Greed.