This will sound callous, but sometime a person has to pick between managing their personal health and having a child. I have a friend who's on some nasty drugs and when faced with the choice between "go off drugs, relapse", "stay on drug, risk birth defects", and "stay on drug, don't have a kid" she chose the last option (correctly IMO, but it's definitely not my place to interject).
That's because they're doing the risk profile. Seizures pose a risk to the fetus too while migrains do not. So they aren't doing it based solely on risk, but on the overall risk profile including "rewards" or reduction in other risks.
But, they're selling clicks, and the patients are looking for money/support, so it's hard to know for sure. It certainly seems like there should have been a discussion between MD and patient here (similar to what my friend had with her MDs, albeit different drugs/condition).
Any reasonably adept provider should be considering the care for the fetus (assuming it isn't being terminated). The main problem in this case was the lack of disclosure. And those disclosure problems are widespread.
Anti seizure meds specifically are tricky. If you are on these meds and plan to become pregnant, they all increase defect risks. While some have lower risks, the effectiveness of the drugs can be highly specific to the individual. Some individuals may be required to take the higher risk drugs is the current low risk standard doesn't effectively control thier issue.