If I ever get hit by a car then it's my own fault. Unless the car leaves the road to to hit me.
I don't trust crosswalks or lights at intersections. I cross the road when there is enough space for me to cross without getting hit. And I hustle.
By that logic, you get hit by accidental gun fire, it's your fault for being in the path of the bullet.
Cars have the capability of killing pedestrians, not so much the other way around on most city streets. Cars bear more responsibility.
Mind you, it's good for the pedestrian to be prudent, just like you wouldn't walk in front of someone cleaning their gun. But there's a difference between prudence and responsibility.