Why does the ball bounce sometimes?

Why does the ball bounce sometimes?

If you roll too hard (swipe up too fast), you'll get a wild roll.