Can the rotation of the earth be a cause for magnetism??
The exact reason of earth's magnetic field is still a hot topic of research. But it is believed the earth’s magnetic field is generated by the electron flow with the rotating liquid-iron core of our planet due to rotation of earth.