Pedantic note: people say capsules 'burn up' from friction, but most of the heating comes from the air in front of the vehicle being compressed. The shield spends reentry sitting behind a layer of extremely hot gas.
Compression is the main term, though friction isn't zero. This is the point in the thread where someone links a textbook and we all learn the word 'stagnation'.