Upset stomach, or gastritis, is a very common problem. Many causes of gastritis are related to lifestyle. Drinking too much alcohol or caffeine, smoking, and eating spicy foods can all cause gastritis.