Justinian Lawyers came up with rules about it around 550 as another way to control you.
The church saw the advantage of controlling marriage and started getting into it 400 years later through blessings and prayers. The council of Trent started requiring catholic marriages with a priest and witnesses. It became fashionable around the 18th century. $$$
Civil ceremonies started popping up around colonial times via magistrates.
The common law option is there for everyone and always has been.
This about sticking it in your face and money.