When the north and south poles of two magnets are pulled apart, work is done against the attractive force between them. As the distance between the poles increases, the magnetic potential energy of the system also increases. Therefore, the correct response is:
The energy stored in the system increases.