Congress prescribed the law in 1790. You just don't like the result.
From the New York ratification of the Constitution:
That the Powers of Government may be reassumed by the People, whensoever it shall become necessary to their Happiness ...... Under these impressions and declaring that the rights aforesaid cannot be abridged or violated, and that the Explanations aforesaid are consistent with the said Constitution, And in confidence that the Amendments which shall have been proposed to the said Constitution will receive an early and mature Consideration: We the said Delegates, in the Name and in the behalf of the People of the State of New York Do by these presents Assent to and Ratify the said Constitution.
They understood the Constitution.
Article IV makes it clear that Congress may pass laws that govern how a state proves it's act and the effect thereof. If a state is to secede, it must allow the Congress to do that. Secession obviously has different effects than a marriage.