My dog used to do that. you could put the food on somthing higher so the dog can't reach it, and your cat can jump up there.
My dog also eats horse poop.
I don't know why....