That does indicate that there is esophagitis
problem. That could be due to infection or increased acidity as a result of medicines(antibiotics) which you have taken for diarrhea
problems. Report back to your doctor about these symptoms and discuss the need of antigastric medications. Also you should make dietary changes to avoid sour, spicy and stimulant foods.