I used to get acid reflux, it was really noticeable while trying to sleep, but that changed after I drank some water (by accident) from inside a cave of a small island near Vanuatu. This led to the worst throat infection I've ever had, after treating it with antibiotics, I stopped having acid reflux altogether. It's been 5 years now without any acid reflux.
However, I've now been diagnosed with eosinophilic esophagitis (EoE).
Honestly I wonder how much of acid reflux is connected to the gut bacteria.