Answer:
In case of HARMONIC OSCILLATOR the relation b/n FORCE AND DISPLACEMENT is LINEAR but in the case of ANHARMONIC OSCILLATOR relation b/n force and displacement is not linear.Hence this non-linearity arises the fact that the spring is not capable of exerting a restoring force that is proportional to the displacement.