Well the offense is being committed outside of the state where the law is. You could also argue that the states banning abortions are the ones infringing on federal law and constitutional rights, because they’re trying to enforce their laws on doctors living outside their jurisdiction.