Why are people obsessed with magnesium?

I keep getting ads for different compositions and people seem to use it as a “cure for all ailments” right now.

When and why did it become a miracle pill?