When the ball is thrown, chemical energy in the muscles of the person is transferred to the ball as kinetic energy. As the ball rises, kinetic energy is transferred to potential energy as the ball slows down and gets to be further from the ground. When the ball reaches its peak height all of its energy is in the form of potential energy, which as the ball begins to fall back down, coverts into kinetic energy as the ball speeds up.