If an object (a ball) begins at rest and falls a distance (h) there is a transformation of gravitational potential energy into kinetic energy (the ball is moving at time-final for my analysis), resulting in a zero net change of total energy for this ball. But, gravity was doing positive work...