Interesting that you showed inflammation on endoscopy. Did they check for eosinophils? Eosinophilic oesophagitis is a possibility. Agree with Sue that coeliac disease would have been unlikely to show up if you had been gluten free. it also requires an endoscopy that goes further than the stomach or duodenum into the first part of the jejunum. If you are strictly gluten free, then any coeliac-related discomfort should have disappeared. If you aren't strictly gluten free (i.e. if you may be getting small amounts of gluten, or hidden gluten) then you may want to try a strict GF diet.