Canines are hardwired to protect their territory from intruders. In most cases, they communicate a warning to others by barking; it’s a form of intimidation. If a trespasser fails to heed the warning, your pooch’s barking might turn into pacing and growling as if he is preparing for a physical confrontation. If the trespasser still refuses to leave, the pacing and growling may evolve into an attack.