Everyone has a choice.
We know that if a criminal resist and threaten the life of the arresting officer, the officer, by instinct and law would protect themselves.
My suggestion to those criminals when caught... surrender peacefully... or do not do any crime at all.
No need to over-analyze the situation.