Maybe he was dangerous for rational reasons i.e. the fear he felt about the horrid inexcusable incarceration conditions that we in the US call "rehabilitation" with a straight face.
Of course that's debatable, and there will regardless be people who are dangerous for reasons that are irrational. It also doesn't excuse his behavior, the world has all kinds of problems and we can't accept solving them by whipping out a gun. But the topic deserves contemporaneous consideration.
One wonders how many law enforcement have been hurt, citizens hurt, or performing desperate crimes, to avoid incarceration which in the US is so horrible that many people prefer death.