It's weird because there are two interpretations of it. Dominant dogs who do it are supposedly spreading their smell around so that the pee spot seems bigger (and everywhere). Submissive dogs spread to hide their scent and not claim territory. (So I've heard anyway
)