If your dog only does this when you are not around, then it is likely that they are doing it to cover up a scent. This could be from their urine or feces, and they may be trying to cover up the scent so that you will not know that they have been there.