Divine intervention...
or was it just stupidity on the gunman’s side.
But, divine intervention could have made the gunman utterly stupid.. So, I vote for both.