Perhaps the most obvious reason, some dogs simply prefer the companionship of their human owners.
In this sense, our bond with dogs is one that has evolved over the course of domestications.
Separation Anxiety. Separation anxiety is triggered when dogs become upset because of separation from their owners.