Dogs recognize some people as fellow dogs.
I was training for backpacking, in my beloved Yosemite, at my local park when I met a pair of dogs as they passed me with their people. I gave my customary greeting, "Hi Buddies." They stopped briefly for some rubs and cruised on ahead. The yellow lab buddy stopped a few yards ahead and looked back at me as if to say, "Come on you are part of the pack." The owner said she only stops for certain people.