That is unfortunate. It would be great to see humans achieve a balanced a fair solution to this - although it’d be even better to see both men and women treat each other well enough it was a non-issue. But that’s just me being a dreamer.
I think the government is the wrong place to try to achieve balance. This is the sort of thing that was handled in a marriage contract. Fathers used to make sure their star-struck, infatuated daughters got a good deal and a good deal is not "she arrives penniless and leaves penniless and then has to go grovel to a judge or beg her ex to pay his child support".