I think it has to do with the flight or fight system in dog's as well as us humans when challenged by an opponent or put in a dangerous situation. Some refer to it as anxiety