Initially wire is slack so it do not have any deformation energy. When block is given some velocity it move due to kinetic energy, one wire get taut. Internal force get develop in wire and KE start decreases and deformation energy of wire increase. Till block come at rest using energy conservation