I lived for some years with an Estrela Mountain Dog breeder. This is a breed o f livestock guarding dogs, selected over time to act independently from people. This breeder’s dogs in particular were still quite close to working stock. At the time, I used to have a joke for our “clients” who bragged about their 4/5 month-old puppy being very obedient, sitting and lying down on cue, etc. I would tell them “if your dog still does that when he is 2 years of age, then I will be happy for you”! ;)
The “sad” reality is that even if a puppy is very dependent on people and will do anything to try to please them, sooner or later (depending on the breed type) the dog will reach its adolescence… A time in which, just like with human kids, the world seems to be turned upside down, the dog seems to have forgotten all that he learned and can basically turn into a “rebel”. The good news is that now all dogs go through this stage in such a profound way and… sooner or later they will come out of it! :)
The link bellow points to an excellent piece describing what goes through in doggy adolescence. It is well worth reading and remembering.