Kinetic energy and potential energy pair is the quantity in which one will increase then other will decrease
As we know that sum of kinetic energy and potential energy will always remain conserved
So here we will have
so here as we move away from mean position the kinetic energy will decrease while at the same time potential energy will increase.
So the pair of potential energy and kinetic energy will satisfy the above condition