Physicists discover — and explain — unexpected magnetism in an atomically thin material