Some people with GERD caused by a hiatal hernia may also have a dry cough. This is caused by acid juices flowing back up the esophagus and down the lungs through the breathing tube. The breathing tube is also called the trachea. Coughing tries to get the juices out of the lungs.