The reason govt is involved in marriage is because they encourage and make massive piles of money off divorce. They make 50-60 billion off divorce each year. The “family courts” racket.
The family courts are an abomination, a large part of the reason many will not get married. That’s another huge issue.