That was my take too. What lead to his death was that he shot at them.
Life has only a few simple rules for survival. One is that you always make sure you have superior firepower before shooting at police. It’s just common sense, man. :)
Two is that you don't have superior firepower. Because the police will get more if they need it.