It’s a basic Supremacy Clause case. A federal law permitting abortions overrides a state law banning them. The federal law in this case is narrow, but still valid.
It’s basic 10th Amendment. “The powers not delegated to the United States by the Constitution, nor prohibited by it to the States, are reserved to the States respectively, or to the people.”