Generally, the person who gives the dog the most attention and bonds with them. When there are two parents and two kids, the dog may favor the parent who fills their bowl every morning and walks them every evening. Physical affection also strengthens the bond between dog and person.