Kinetic energy imparted to the ball is converted into potential energy at the highest point and small part remains kinetic. Then it is converted into kinetic energy when it hits the ground. This energy is used up in overcoming the friction against air and the ground. Due to dissipation of energy in overcoming friction against air and ground, the kinetic energy of the balls is not conserved.