Can’t the Supreme Court take this on?
They did. They ruled that the DOMA act was unconstitutional.
What they did not settle was the precidence of the 10th Amendment over the 14th Ammendment. As it stands, the current judges are favoring the 14th over the 10th