The original clinical trials to find a COVID-19 vaccine excluded pregnant women. Many take that to mean the vaccines are unsafe for expectant mothers.
Even though later trials with pregnant women showed the vaccines are safe for them, the incorrect beliefs persist. Many still believe it’s dangerous for the mother, it’s dangerous for the baby or it can cause infertility. None of these things are true.