Esophagitis is the inflammation of the esophagus. Its primary cause is generally gastroesophageal reflux disease (GERD), where stomach acid flows back into the esophagus, causing irritation. In addition to GERD, other factors that can lead to esophagitis include infections, exposure to allergens, side effects of certain oral medications, tobacco and alcohol consumption, and occasionally stress.