Could also be that this is at least partially justified due to the incredible pervasiveness of guns in the US.
People generally do not shoot at cops, because whether or not they hit the target doing so is pretty much signing their own death sentence. All cops have to do to protect themselves is to not provoke people to fight-or-flight reactions.