Gaseous oxygen is paramagnetic also but is moving too fast to be affected by the magnets. The reason that it is paramagnetic is because the oxygen molecule has two unpaired electrons. Electrons not only go around the atom in their orbitals, they also spin, which creates a magnetic field.