The job of the police is to deal with the dangerous, deranged people that the rest of us would rather avoid. Because of that, a number of police officers are going to kill people who pull out guns, attack them, act in a bizarre and dangerous way that makes them think they have a weapon they are about to pull out, etc., etc., etc.