That's not entirely fair. Ths US Congress did pass legislation allowing federal review of the case and the President signed it. The Courts, however, did not respect the spirit of that legislation.
The problem is that they did not pass it until after the courts had already ruled. They should have passed legislation on this years ago. And they did not even pass legislation banning it on a going forward basis. They could pass legislation today, that would prevent this kind of confusion in the future, but they won't. They are too lazy.
It's the same reason that they use the courts to sue tobacco companies. If they wanted to do it right, they'd just pass legislation requiring the tobacco companies to pay taxes into a fund for smokers who get cancer like they did for black lung disease. But they're too lazy to do that, so they leave it up to the courts to accomplish the same thing, except it costs billions more since we are now paying legal fees.