Answer: Extinction.
Explanation:
Extinction refers to a phenomenon of conditioned behavior, that appears when a behavior that used to be reinforced doesn´t have reinforcing consequences anymore, getting the behavior to stop.
In this case, the disappearance of the conditioned response (the candy), makes the behavior of showing eagerness to do math slowly decreases, until it disappears.