Why Earth Has Magnetic Field