Most officers get less than six months of training.
In other countries (with much lower rates of officer involved homicides), officers receive years of training.
It is exactly perceived threat.
But they're so untrained that they perceive many things as threats that are not threats (a man with autism rocking back and forth on the ground while holding a toy firetruck, for example).