A block is connected to a spring that is suspended from the ceiling. Assuming air resistance is neglected; explain the energy transformations that occur within the system consisting of the block, the Earth, and the spring when the block is set into vertical motion.