The federal government has no authority to legislate on morality.””
Morality isn’t the issue. The spreading of infectious disesases is the issue and what it is doing to the public health.
So should every human wear an electronic collar controlled by the government to control what they do sexually? Because that’s the only feasible way to do such a thing.
What somebody does in their own bed is none of your business.