Have you tried “crazy” things like going low fat or easy to digest foods? I used to have to take nexium, but stopped after having my gallbladder removed and, more impactfully, going vegan. I used to have full on esophageal spasms. They led me to the ER twice out of the pain. In hindsight, dairy’s fat content (amongst other things) was really irritating my stomach.
Yes, foods with high amounts of fat are on the long list of things I avoid. I ate a vegan diet for over a year, but have added some meats and eggs back more recently. Dairy fat is irritating to me too.
Both Prilosec and Nexium caused internal bleeding in my case. Zantac was ineffective.