Which federal law are you referring to? EMTALA does not supersede state law, nor does it prevent the state from pursuing criminal charges for abortion.
It’s unrealistic to expect a significant number of doctors to throw away their livelihoods and go to prison to prove a legal threat. Doctors are being advised by risk management divisions of the hospital to not even consider abortions in these cases (in certain states) because it means saying goodbye to your practice, your savings, and your family.
Texas successfully challenged EMTALA's application to abortion cases through a lawsuit in 2022. The 5th Circuit Court ruled that EMTALA does not mandate abortion care or override state law. Texas became the only state exempt from federal emergency care requirements for pregnant patients. Under Texas law, abortion is only permitted for "risk of death" rather than EMTALA's broader "serious jeopardy" to health standard
Tuesday’s ruling, authored by Judge Kurt D. Engelhardt, said the court “decline[d] to expand the scope of EMTALA.”
“We agree with the district court that EMTALA does not provide an unqualified right for the pregnant mother to abort her child,” Englehardt wrote. “EMTALA does not mandate medical treatments, let alone abortion care, nor does it preempt Texas law.”
https://www.texastribune.org/2024/01/02/texas-abortion-fifth-circuit/
The HHS secretary can say whatever they want. It doesn’t mean they know how things will play out in court. Hospitals employ leagues of lawyers to assess legal risk/exposure and with criminal penalties on the table in all of the 14 states where abortion is banned, it appears that they’ve determined its better to pay the fine than have many of their doctors and nurses go to jail.