There is an Inverse relationship that exists between the 2, as described many times in scientific models, as the kinetic molecular model and other models, even representative analogies of a ball rolling down a hill.
As the kinetic energy of a substance or item increase the initial potential the object or item had to perform any task, has been converted into an additional form of energy, in this case kinetic energy and heat.