Attraction vs Repulsion in Magnetic Fields