To be fair, at least in the US, doctors tend to be overly cautious when it comes to pregnancies. The bar for proven safety for treatments tends to be a bit higher than for non-pregnant people. "We haven't proven anything bad" is usually not good enough.