A baby may have reflux when her esophageal sphincter (the valve connecting the esophagus to the stomach) is weak or not working properly. This allows food and gastric juices to flow back up out of her stomach and into her mouth. It’s also what causes heartburn in adults.