Sometimes because of a weakness in the esophagus (the tube that connects the throat to the stomach) and stomach connection, the stomach can slide up and down into the chest area, which is known as a hiatal hernia. This can allow stomach acid to enter the esophagus more easily, causing acid reflux and heartburn.