Waking up with heartburn in the middle of the night or in the morning is common due to pregnancy or drinking alcohol in the evening. But this "riser's reflux" can also be a sign of conditions like gastroesophageal reflux disease (GERD), a long-term digestive condition, and hiatal hernia
Source: Verywell Health