Dogs are thinking one thing and one thing only — food.
Case-in-point, I give my dog tons of affection, constantly scratching its ears and snuggling with it. My wife doesn’t do any of that, but she does feed it. I don’t feed it.
Guess which one of us she follows and wants to be near all day long?