The kinetic energy of an object is

where m is the mass of the object
and v is the velocity.
If you roll a snowball downhill, gravity accelerates the object and v increases. This causes the kinetic energy of the object to increase as well.
If you roll a snowball on level ground or uphill, friction will cause the velocity to decrease. Thus kinetic energy will decrease as well.