BOB shoots through players


So i was playing Roadhog and trying to protect my ana as she had used her sleep prior to enemy Ashe using BOB. I stood infront of BOB to take the damage but didn’t and BOB shot through my player model and killed Ana AND Wrecking Ball through me before killing me, I was wondering if this is a bug or an intended way of how BOB is supposed to work.