Possible TW for mention of self harm

For a bit of context: the other day I was hit by a car while walking (no serious injuries but still a bit sore), and I can't shake the feeling that it was my fault? Putting myself into dangerous situations is one of my passive self harm techniques. I kind of had a feeling before I was hit that the driver didn't see me, and instead of just stopping and waiting for her to have a chance to make her turn and go, I decided to keep walking and she accelerated and hit me. Idk why but I kind of immediately felt like I was the person who did the wrong doing. I guess I feel like I staged it, like it wasn't genuine because I do have a willingness to be harmed in similar ways. 

Does anyone else have similar stories? You didn't exactly cause the event, but didn't prevent it from happening so you feel like your feelings surrounding it aren't valid?