Which is the cause of the sun's magnetic properties