That is the connection. Marriage has been adjusted by the state in the past; race, age, etc.
That is no connection. Just because the government deals with party A and also with unrelated party B in another issue does not relate party A to party B.
That’s just a silly argument.