What causes periodic motion?
According to Newton's first law, the law of inertia, if no force is applied to an object, the object moves in a straight line. A similar concept applies to objects that move periodically. A simple pendulum, when pulled out of its resting position (tension is a force), starts to move back and forth and tends to swing until we continue to apply force to the pendulum.