why does my dog act like a cat