If these two muscles do not work properly, gastric juices can go back into the esophagus. It can also cause heartburn. This is known as gastro-esophageal reflux. It is also called GERD.