Irritants are not allergens, so you could be talking about cigarette smoke causing esophagitis, which it does, in smokers.
Or you could be wondering about eosinophilic esophagitis, where food or inhalant allergens trigger inflammation of the esophagus. Both conditions are helped by avoidance of the triggers; EoE is also helped by swallowing steroid slushes and immunotherapy. Your wording confuses
Would you like to video or text chat with me?