Its probably because they want some alone time or they want to play hide and seek besides cats normally do this perhaps your dog wants to be a cat you never know
If it is rash like he is probably allergic to his food.if they get any worse speak to your vet