Dogs to this to make sure that the toy or area is coated in their scent. Dogs son't always mark with urine, in many cases such as with where they sleep or a toy, they just rub all over it.
Is probably that the dog is playing with the toy, is a way to canalize the energy of the dog in something, because dogs like us need to discharge energy.