Sometimes the stomach acid can travel all the way up the esophagus to the mouth. From the mouth, the acid juices can flow into the lungs and cause damage.