AsNoriuanswered grow question 2 years ago best example of magnesium deficiency , what caused it :
bad ph
bad watering regime, which played with pots ph
too much nutrition, nitrogen
too rich soil
https://www.growbarato.net/blog/en/deficiencies-due-to-excess-nutrients/
they have article how to avoid, all plain and simple.
Happy Growing !!!