The act of resisting arrest endangers the law officers while violating the LEO civil right to safe work place
One who resists arrest forfeits the right to personal safety. A sharp blow with a night stick or lead sap provides defense against resist criminality
And when they resist, you have to assume the worst (they’re armed and will shoot) until you can prove otherwise.
But when you listen to the hate whitey crowd (which sometimes includes parents) that tells you that the cops are out to get you, you get paranoid and do precisely the wrong thing...and, boom, you're dead.