Hi,
Heartburn during pregnancy is caused because of gastritis and because of the pregnant uterus putting pressure upon the stomach which may cause a reflux. It has nothing to do with the baby not having hair. You are lucky that you have not had heartburn, so not to worry.
Take care.