However, they may lead to acid reflux or GERD, which can cause epigastric pain or heartburn. Learn more about the symptoms of a hiatal hernia. Gastritis happens when the lining of your stomach ...