I've been diagnosed with gastritis, and my doctor told me that stress can make stomach acid problems much worse, because stress increases the acid. So I would assume that is why an anti depressant would be prescribed. I am not currently on anti depressants, however I am severely anxious and stressed all of the time and would almost guarantee my acid problems would diminish if I weren't worried 24/7.