Might be an upset tummy, might have eaten a junebug or something. If your dog is throwing up, or has runny stools, you might try a spoonful of canned pumpkin or plain yogurt.
Keep us posted.