Web Analytics

If the upper atmosphere is is very thin, why do space vehicles heat up as they enter the atmosphere?