Fear. They're programmed to believe anyone with a gun will murder them with no hesitation; a lesson to keep them alive as long as possible as their lives are considered more valuable than the criminal, despite innocence.
It's better to shoot an innocent than to have a dead cop.