These contractions occur automatically and are regulated by nerves, which work to activate and relax the esophageal muscles as needed. Esophageal spasms occur when these nerves misfire and don't ...