Stress does not cause heartburn.
Stress can lead to behaviors like overeating, drinking and smoking. All these behaviors can bring on heartburn.