There are actually different forms of magnesium supplements. I am using the Magnesium L-threonate compound since I read it may help with anxiety and depression. I might try another brand or type to see if I notice any difference. Healthline has an article on types of magnesium
here.