Fasting while pregnant

I am very early in my first trimester and today is Yom Kippur which requires a 25 hour fast without food or water. My doctor advised against fasting without much explanation. This holiday is important to me. What potential harm could come to my baby from me fasting?