If the body has low magnesium levels, it could trigger cluster headaches as well as migraines. The idea is to increase the amount of magnesium that is absorbed by the body to prevent these ailments. Low magnesium levels are also found with depression and anxiety sufferers.