Medications, bacterial infections like H. pylori, fatty foods, physical and mental stress, alcohol consumption, or eating foods you’re sensitive to may cause gastritis symptoms to develop.