The ball has picked up X-translational velocity (away from the center of the roof) while rolling down the roof. Neglecting air friction (low velocity) the X-velocity remains constant after departing the roof (like a bullet fired horizontally from a gun (while losing X-velocity due to air friction (high velocity))).
It has picked up negative Y-velocity while rolling down the roof. When it leaves the roof, it continues with that initial negative Y-velocity and begins to increase negative Y-velocity due to falling (gravity).
When you throw a football, you put spin on it to give it stability. Do you think the football continues to spin when it leaves your hand (is it continuing to fly with stability throughout its travel - or does it tumble)? Do you think the rolling ball on the roof continues to spin when it leaves the roof (without air friction, what would stop it from spinning)?
Until the ball falls to the ground the potential energy remains but decreases due to the diminishing elevation relative to the ground. Until it hits the ground the kinetic energy is increasing due to the increased velcity due to gravity. (Does this sound like a transformation to you?)
When the bouncing stops, it still has (some of) the rotational velocity (may have lost some small fraction with each bounce) and the X-velocity, until finally the rolling stops (obstacles (sand/dirt/grass) and pits (small variations in the ground surface) in the path). At that point, all the potential energy and kinetic energy throughout its travel will have been spent as friction (heat) (energy loss due to deformations of the ground surface (plowing material sideways and compacting material under it (like rolling up a micro-hill)) and the ball surface at impacts and rolling friction (imagine the micro-deformation at the bottom of the ball and having to move that micro-deformation on to the next continued movement forward (as heating of the ball surface)) bringing it to a standstill.