I wonder how this will affect the states that have passed similar laws.
It is advocating for state's rights. The court is claiming that since MA says it is ok for gay couples to marry, then that should be the defining factor for federal benefits and not the DOMA legislation.
I think the position of this court is weak, and SCOTUS will overturn it. However getting to that point will be quite explosive.