If temperature were the only thing affecting magnetic field strength, then yes you could conclude that the hotter something is, the weaker its field. However, in truth, magnetic field strength in stars and planets is generally stronger than it is outside, because flux is constant, and inside, it...