Because there is no friction between objects and between object and the ground.
The total momentum in the horizontal direction must be conserved.
Try with different initial velocity and water how the motion changed!
The total energy of the system is always conserved,too!

VIEW or DOWNLOAD ejs xml source
then click to translate strings for selected locale.

Press the Alt key and the left mouse button to drag the applet off the browser and onto the desktop.