The pattern of trapping a B with pawns that way is not uncommon. You survived it, so you should subconsciously be aware of the possibility from now on.
Don't feel bad about not perceiving the threat this time. We all get chess lessons in the same the hard way. Good luck in your chess journey.
So I got angry and spent an hour or so analyzing and trying every way possible to save the bishop. There are traps everywhere. I can't move my queen here or there because of knights and oh my god it's horrible.