It is possible your dog is ill. Dogs can tuck their tail when painful, anxious, uncomfortable or stressed. It is also possible that there is an injury to the tail, rump, or perianal area. If this continues or if any further signs develop contact your veterinarian.