Question: what are the requirements for an object to move in simple harmonic motion?
Answer: 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.