It’s a common assumption, but most researchers don’t believe stress is a direct cause. Possibly, people who are stressed are more likely to learn they have ulcers because they see a doctor for issues related to stress. They may also increase their risk because of stress-related behaviors like drinking and smoking.