The Short Version
This claim is false. Modern medical evidence overwhelmingly shows that stomach ulcers are caused by H. pylori bacterial infection and NSAID use — not by spicy food. Major institutions including the NIDDK, Cleveland Clinic, and Yale Medicine explicitly reject the spicy-food-causes-ulcers myth. Peer-reviewed research actually shows capsaicin (the active compound in spicy food) may be gastroprotective. While spicy food can worsen symptoms in someone who already has an ulcer, it does not cause ulcers.