A meteor burns due to the heat of the earth's atmosphere. Then how is a rocket able to escape this heat while leaving and entering the atmosphere and also it doesn't burn? How
this is due to Frictional force produce heat. Friction can produce heat. This can be observed if you rub your palm against each other. Likewise, when a meteorite enters the earth's atmosphere, the air applies a frictional force against the motion of the meteorite. Due to this frictional force, heat is produced and the meteor starts burning and finally explodes.
in case of rocket rocket have the heat shield. Rockets are built to withstand the atmospheric forces as they leave the atmosphere. When a spacecraft returns from orbit, or elsewhere, it is traveling at anywhere up to ten kilometers (six miles) a second. It needs to slow down considerably to make it to Earth’s surface, and the easiest way to do this is to use the Earth’s atmosphere as a ‘brake’. Spacecraft are actually designed to make use of this, so the wide heat shield bears the brunt of deceleration as the spacecraft passes through the atmosphere. We use the atmosphere as a handy way to decelerate spacecraft, rather than relying on fuel alone.