Respuesta :

they both share the same poles which makes  them push away fro each other
remember opposites attract  
YAHmax
The magnet and the object repel eachother because they have an antimagnetic effect. That is one has a South Pole while the other has a North Pole.