Acid reflux is the back-flow of stomach contents into the esophagus. It is a less severe form of gastroesophageal reflux disease (GERD), both of which are known to cause acid reflux headaches due to the strong connection between the gut and the brain.
Source: Verywell Health