Maybe they didn't. Too much temptation to always shoot the dog.
If my dog doesn’t recognize you as part of the larger pack, she is happy to show her big teeth and give you a vocal warning to have you determined by a pack member to be friend or foe. Most dogs will confront a cop coming on the property no matter the breed.