A rocket burns a large volume of fuel while accelerating from the ground to 40 km. Explain how its weight changes during the ascent.