When the north and south poles of two magnets are brought closer together, the magnetic forces between them create a potential energy in the system. As the student pulls the magnets apart and holds them at a distance of 10 cm from each other, the magnetic attraction decreases, and the system's potential energy will also decrease.
Therefore, the correct answer is:
The energy stored in the system decreases.