Describe the energy transformation that occurs as a force acts on a mass at point A and causes it move to point B.