"Elementium" and its oxide "Elementia" - whence this pattern?

Many metallic elements and their oxides are named in pairs where the metal itself ends in “um” but that’s replaced by “a” for the oxide. For example, there are aluminum and alumina, titanium and titania, or hafnium and hafnia. How did this come about?

According to the Wikipedia article for magnesium,
“The name magnesium originates from the Greek word for a district in Thessaly called Magnesia.”

Ah, so the word for the oxide happened first and the metal itself was derived from it.

But I don’t think all the oxide names are also words or names unto themselves. Was magnesium the prototype for this? Is there maybe a false etymology or something?

I would suggest that it’s from the 2nd declension of neuter nouns in Latin, which are -um in the singular and -a in the plural. Just the first thing that came off the top of my head.

Props on “whence” (and the query in general). Also to the top of glowacks’s head.

From the OED:

So . . . Milk of Magnesia comes from cows grazed in that district in Thessaly?

Also, is there such a thing as Cheese of Magnesia?

Props to the top of glowacks’s head? You mean like one of those beanies?

I take this to indicate that the appearance of a pattern here is wrong, and that the similarity of forms for alumina and magnesia is only coincidence? How about all the others?

I don’t think you read it right. The way I read it, metallic elements ending with -ium are named in the pattern established by sodium and magnesium. Somewhere I read that that ending is now required by the IUPAC in naming metallic elements while non-metallic elements get other endings.

This might be informative at least as to the formation of the oxide variants: IUPAC nomenclature of inorganic chemistry - Wikipedia

As to the element names try List of chemical element name etymologies - Wikipedia

Neither of these are the whole story but I bet they get you some good entry points.

I don’t know. But I do know that if you mix Milk of Magnesia with orange juice, you get a Phillips Screwdriver.

Scientists established a lot of nomenclaure rules a long time ago, to make consistent sense of the language of science. Another example is the -ic and -ous suffixes for metals in compounds, depending on the valence. Ferric, Mercuric, cupric, etc. refer to compounds of the higher valence,and ferrous, mercurous, cuprous for the lower valence. Similarly for acids, such as sulfuric and sulfurous.

For examples like those described by the OP, the ending forms of the names of chemicals are formed exactly for the purpose of showing the relationshp between the two.