South Carolina gay marriage ban overturned

For some time now the Supreme Court has managed to deftly duck out of the subject of each state's right to decide on gay marriage for themselves. This was facilitated by the fact that all of the courts seemed to be coming down on the same side, so why