The ball slows to a stop because of friction.
Step-by-step explanation:
When the ball is rolling on the ground, it's transferring energy to the ground. Eventually it runs out of energy and stops. The ground most likely isn't too smooth so that would also explain why it stopped. Hope this helps!