For any dog that has successfully avoided pushing through a stressful situation, and reacts with aggression, barking, growling, or flight, the reward is to either scare the threat away by growling, or to run from it.
Balancing the relationship between leadership/rules, and affection is where the magic is at!