Nerve endings get triggered by stress, food, or medicine, and the trigeminal nerve tells your brain that ... Using magnesium supplements might cause gastrointestinal side effects such as diarrhea.