If you truly love your partner, does a ring and a ceremony really do anything?

I know there are certain legal situations where an official marriage changes who has certain rights, but aren’t those same rights available if you make other legally-official decisions E.G. a will or trusts, etc?

I’m generally curious why people get married beyond the “because I love them” when it costs so much money.