People like dogs, and your dog at least appears to like you back. If they don't really like us, their behavior is enough of a facsimile that it doesn't even matter.
I spend more time with my dog than anyone except my wife and kids; and it is pretty close to the amount I spend with my teenagers given that they have their own interests and activities. With that much time together, there is just naturally a bond.
I think the OP might have been speaking more toward the people who feel the need to take their dog everywhere. Things like carrying them in purses or bags, sneaking them into stores where they're not allowed and having verbal or physical altercations when challenged, getting documents (fake or otherwise) certifying they're emotional support animals to take them on planes, and the overall making them a part of your identity.
It's not unlike the anti-maskers or anti-vaxx people presently during the pandemic. The difference being that current circumstances (i.e. the pandemic) are causing society to challenge those people and their behaviors but aside from Airlines banning emotional support animals, there really isn't anyone questioning the crazy dog people.
I spend more time with my dog than anyone except my wife and kids; and it is pretty close to the amount I spend with my teenagers given that they have their own interests and activities. With that much time together, there is just naturally a bond.