what are the requirements for an object to move with simple harmonic motion?
The acceleration of the object must be directly proportional to its displacement from some fixed point, and the acceleration must be directed to that fixed point. That is when the motion of the body will be simple harmonic.