I think is the scent too, I don't remember if was at my vet or here lol

that I heard that even in their poop like everydog has a particular smell and even when a neighbor dog leave a present in your front yard and your dog smell it they can't recognize the dog, I think is that is why they smell each other butt, is like hey hola just keeping in touch with you