https://www.ingentaconnect.com/content/ben/cpd/2020/00000026...
After a gastroscopy, they concluded that it was just stress and nothing else, but inflamation wouldn't heal on its own, so I got pantoprazole (PPI) and stopped ingesting potentially irritating food (caffeine, alcohol, spicy food). I also shortly changed jobs, which alleviated the stress. Mind you, I never had heartburn, just pain. My condition didn't improve for a while after that, until I stopped drinking carbonated water (the only carbonated beverage I consumed), that fixed it in less than a month. After that, I gradually weaned myself off of pantoprazol in 6 months.
There literally was no other probable cause except for stress (I was stressed, wholly self-induced), and after I switched industries and no longer felt that I'm wasting my time working for peanuts, the PPIs helped cure the symptoms.
https://www.ingentaconnect.com/content/ben/cmm/2008/00000008...