Your dog just molted. As dogs grow, they must shed their old shell. He looks to be resting as he is in a vulnerable state, as his new shell hardens.
Dogwood.