There is no shortage. They just won’t let us mine it in the USA.
Doesn’t magnesium come from seawater?
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6249789/
So now that sea levels are rising due to cattle and people continuing to exist how can we have a shortage of magnesium?