Because that’s what provides the legal status. For tax filing, joint finances, access to records, etc. I suppose a marriage could take place in a church and the marriage exists to the family and to god. It wouldn’t to the state without some record.
“It wouldnt to the state without some record.”
A couple could email a copy of their marriage certificate, I guess.