It doesn't, Marriage is an act of union between a man and a woman, it is witnessed for purposes of human commitment, only.
Otherwise, it is a State issue, not your beloved Federal Governments.
“It doesn’t”
Legally, marriage requires witnesses in ordered to be considered a marriage. Without witnesses, there is no marriage. People may claim they are married to someone else but without witnesses their claims are false.