As an object falls under gravity, its height decreases which reduces its gravitational potential energy (PE = mgh). This lost potential energy is converted into kinetic energy (KE = 1/2 mv^2) as the object gains speed. The total mechanical energy remains constant (ignoring air resistance), so the gain in KE exactly equals the loss in PE.