This is a state issue and needs to be put on the ballot or voted on by reprsenatives.
And the ‘gay marriage’ thing? That never should have been ‘made law’ by a single judge. States need to vote on that too.,
Although with same sex marriage, in 2022 Congress passed the Respect for Marriage Act, which explicitly legalizes same sex marriage in federal law.
So even if court cases on same sex marriage were ever overturned , we now have a federal law legalizing it.
Presumably this federal law would override states which had banned same sex marriage.