> he pulled a gun on police when they tried to arrest him
This is the disputed evidence at the center of the question; the gun was found several meters away from the scene, on the other side of a fence, "wrapped in a sock". There is a protracted argument about how plausible it is that he threw it there after being shot in the arm.
> they invariably seem to be about people who were in the process of attacking the police when they were shot.
If the police shoot someone, then of course all the official reports will say that they were attacking the police. There have been a number of mass casualty incidents in the UK (Hillsborough, Bloody Sunday) where the police or army reports turned out to be lies.