Upset stomach can be caused due to several reasons including food poisoning, an infection, an allergic reaction, overeating, a side effect of medication, a gastrointestinal disease, etc.