This helps with hunting: by understanding where their prey has been, wolves can better track their prey.
Your dog is leaving his own scent behind: As BBC Earth proposes, your dog might actually be trying to leave his own scent behind.
This falls in-line with another dog behavior: marking.