I think with a magnesium deficiency you can have some emotional problems like anxiety.
It sucks that modern medicine mainly cares about money and not people otherwise their would probably be a lot more nutritional studies and treatments would probably be way better. It's "sometimes" WAY more profitable to kill a human than save a human.