He assumed you were a gang member and the shooting was gang related. Which probably isn't a bad heuristic. Most of the time when gangs shoot up a rival gang members car, they don't accidentally get the wrong one.
What if he also assumed I was lying, drunk or armed?
Citation needed.