True, but there is residual magnetism in the core of the rotor and that's all it needs.There is no fixed magnets in an alternator
Ever have a screwdriver or other tool that small parts would stick to? Not a fixed magnet but still having some magnetism.