Answer :

The answer is friction. Whenever anything decides to enter our atmosphere, they enter pretty fast, faster than they were in space thanks to gravity. But since they go really fast, they create friction with the gases. Those gases may be flammable and they light up. Then you see that it seems like the meteorite is burning, but actually it's the atmospheric gases around it.
when the meters enter the atmosphere they become meteorites they burn up because friction