A hiatal hernia or failure of the lower esophageal (cardiac) sphincter to close causes the stomach contents to back up into the esophagus. This causes the esophageal wall to have a burning sensation (heartburn) and, in serious cases, bleeding. What causes the burning sensation and bleeding to occur