I think the federal government does maximal harm anytime it passes any laws. You’re correct the federal government shouldn’t pass any law. The states probably shouldn’t either regarding this.
Basically my view is that impositions of will is best served at the smallest possible unit. Hopefully, that’s at the individual level, ie I don’t want to hurt you so you don’t hurt me. But if a law must exist, do so locally. If it really must be broadened, then do so at a larger scale.
If a town up the creek is poisoning a town down the creek, then at the very least you have to impose law between two said towns, else you risk violence. That would be the minimal range you could impose. The legal system is only there as an alternative to war.
In this case, it seems rather obvious to me there should be no laws really. That said, If the majority of a region / town disagree who am I to impose my will from across the world? That vast majority is split on this issue globally, so I don’t think law is a good idea as it may lead to violence as it’s imposing will as opposed to resolving a conflict.