I'm not lecturing Amanda here because I'm sure she is aware that absorption of magnesium from water/diet is increased (in a similar way that calcium uptake increases) when vitamin D deficiency is corrected.
So correcting vitamin D deficiency
improves lung function partly
by improving magnesium status.
But because most modern diets (because of changes in plant breeding and farming techniques) lack the magnesium resources, so although the ability to absorb magnesium may be increased by correcting vitamin D deficience, if it's lacking in the soil grains/veggies are grown in, it will inevitably also be lacking in the foods produced.
The average dietary Mg intake in women is 68% of the RDA, indicating that a large proportion of our population has substantial dietary Mg deficits.
Most informed observers would probably agree privately the current RDA for magnesium (and indeed vitamin d) is far too low for safety.
there is an equally large amount of information suggesting that vitamin d deficiency causes asthma I agree it does but that is because vitamin D deficiency also means you are deficient in magnesium absorption.
Correcting vitamin D efficiency MAY improve your ability to absorb magnesium BUT if you haven't sufficient sources of magnesium (because your flour comes from modern dwarf wheat varieties) then correcting vitamin D deficiency without also correcting magnesium insufficiency, won't have the desired effect.
Neither will increasing magnesium intake without at the same time increasing vitamin d status. No point in increasing magnesium availability if you don't also increase the means of uptake (increasing vitamin d status)
I sometimes use the analogy of inflating car tyres to makers specifications but you see in this situation how inappropriate that analogy is because with cars if you inflate one tyre it doesn't affect the ability of other tyres to absorb the correct air pressure. But with vitamin D, calcium, magnesium these are so interrelated the each has an impact on the absorption of the others. Mess one up and you mess up the others.
Shortage of vitamin D = insufficient calcium insufficient magnesium absorption, it also means the calcium isn't properly controlled so excess calcium uncontrolled leads to calcification and stone formation.
Magnesium deficiency = increased iron uptake, more oxidation, accelerated ageing, more inflammation.