An upset stomach can be caused due to various reasons like infections caused by bacteria, parasites or viruses, indigestion, food allergies, change in diet, motion sickness, intestinal worms, stress or trauma, etc. It could also be caused if your dog is affected by an inflammatory bowel disease or pancreatitis.