why is my dog suddenly territorial