what causes some materials to have magnetic field
well correct me if im wrong, friction would be my answer