For you to bring two repelling magnets together requires ?
A magnetic field
A system
Energy