This is the essences of Newton’s cradle: conservation of momentum and kinetic energy. What about the strings? Well, they just keep things lined up nice for the collisions. Also, after the ball is hit by another ball, it swings up and then back down making it the moving ball.