Re: "Why would the US federal government ever have been involved in an issue like this in the first place?"

Because of busybody, uptight, religious reichwing nutsoids getting involved in issues that don't really affect them in any material way whatsoever, that's why.

As witness, I give you the (now former) governors of North Carolina and Indiana.