You brandish a weapon when being chased by a police officer and you definitely will be a target. They told him to drop the gun and he continues to attempt an escape and then brandishes the weapon again. Seems to me like he was wanting to die.
He failed to take some readily available good lessons to heart.
Chris Rock - How not to get your a** kicked by the police!
https://www.youtube.com/watch?v=uj0mtxXEGE8
24.5 million have viewed, the deceased clearly was not one of them.
Suicide by Cop.