That's how it should be, unless you're cool with the idea of the possibility of some other religion becoming the law in your land.
It didn't. Specially not the Christian church. The Christian bible was the basis for the christian religion. It was written before the religion existed. And it already mentions married people.
We have evidence of marriage going back to the 2300's BC. And it probably existed before that, we just didn't find the evidence yet.
Well, first the notion of marriage is a tad older than a thousand years, to claim it's only that old is remarkably ahistorical. Second, which church? Many religious and non-religious institutions have had some notion of marriage for quite a while. Which one gets to claim first rights and to have the proper definition and why do they get to keep making that distinction today for people who aren't members of their church/religion?
It was purely legal/civil matter, because religious matters weren't written down. So marriage was in fact not religious originally.
I've gotten that from Peter Berresford Ellis' books, which contains much more than that, and paint Celts as a more refined society than the greco-roman one.
Previously, not originally. In ancient Greece it was a state matter: <https://en.wikipedia.org/wiki/Marriage_in_ancient_Greece>
And unless you live in a world where words can be owned by an entity, nobody "stole" anything. Many marriages still get both the official paper (civil contract) and the sacrament. They mean a similar thing, and humans being humans means they use the same word.
(It's also not "usually the mayor", btw - that depends on the country. In Germany it's e.g usually the "Standesbeamte". A government official that does the job of a registrar. Mayors can only do the job if they've also been appointed to that role)
So yes, the state stole the term. It's like tomorrow the state decides by law that everything that color red will be called color blue, that would be stealing the word "blue" and use it to define the color of red things. It is not a natural evolution of language.
But if you keep going back, you get to a time before the church controlled marriages in Europe.
Generally, marriage is a cultural thing, and it tends to be religious at any point in time to the extent the culture is religious at that time.
And the other question is: what is a marriage in legal terms in Japan? In Europe marriage was originally a religious thing, officiated by priests and managed by the church; then the states stole the term to use it for a civil contract, officiated by civil servants (usually the mayor) with laws and courts managing it. For Japan, which one is in the courts?