Dog hiding when sick is the most common reason, but it is not necessary that whenever your dog hides there is something serious thing happening. Just like we humans, dogs also need their space when they are fearful, sad, anxious, or stressed. Although he might be acting strange and hiding because he might be ill or sick. This is more likely to happen more when if not feeling well. He might do this for a day or two.