In 2012, didn’t SCOTUS shoot down the Defense of Marriage Act because it was a state’s rights issue?
Indeed, they did.
And it was the same five justices who voted to make single sex marriage "the law of the land". Moreover, the decision in both cases was written by the same justice -- Anthony Kennedy.