My previous pup, 30 years ago, was a bitch and attached very strongly to my ex husband, and although she was always affectionate towards me, she would have gladly died in the effort to please him.
My present pup is a dog and has attached very strongly to me, is only mildly interested in my husband and doesn't make much effort to engage with him. Although, to be fair, he really is not a dog person, and despite best efforts probably gives off some 'stay away from me' vibes.
Maybe the gender of the owner has a bearing? I don't know.