Indigestion occurs when stomach acid travels back up the esophagus and into the food pipe, causing pain or discomfort known as heartburn (esophagus). The hallmarks of acid reflux include A sense of heat or burning in the chest and/or upper abdomen. After eating, when lying down, or when leaning over is a common time for this to happen.