Meteors burn up when they hit the Earth's atmosphere.
When the meteor hits the atmosphere, the air in front of it compresses incredibly quickly. When a gas is compressed, its temperature rises. This causes the meteor to heat up so much that it glows.