If a meteoroid (small asteroid) comes into the atmosphere, the air in front of it is compressed. The compression heats up the air, which heats the object in effect, causing it to glow and vaporize. Then it starts to glow which is called a meteor.