There are running debates within the veterinary behaviorist community about whether undesirable behavior in dogs is a result of nature or nurture. Many behaviorists are strongly in the nurture camp, insisting that most all dogs can be turned into good pets with the right training and environment. Dogs are indeed born with certain characteristics that will be expressed to some degree regardless of how they are raised.
Some dogs are more extreme in the expression of their inborn characteristics.
However, almost all behaviors can be accentuated or reduced, depending on how one interacts with the dog. Unfortunately, humans are very good at misinterpreting what dogs are saying. We often ascribe our own thoughts, feelings and values to our pets. That is often not accurate, and can cause some real confusion for us and the dog. Dogs living with humans interact with the family members in the same fashion they do with other dogs.