Original: However, some atoms in some states behave such that they are repelled by magnetic fields.
Simplified: However, some atoms in some states behave such that they are by magnetic fields.