Achalasia causes a spasm in the esophagus, preventing food from reaching the stomach. A peroral endoscopic myotomy surgical treatment can help.