When anything moving that fast enters the atmosphere (spaceship, meteor, alien garbage, etc.) it pushes the air in front of it and compresses it. The air can't move out of the way fast enough to avoid being compressed.
Expanding gas cools off, and compressed gas will heat up.
The heat from the compression of air in front of the spacecraft is hot enough to melt off the heat shield. Air friction plays little to no part in the temperature rise.
Really... in all the years I've been reading about spaceflight and reentry and all that, this is the first time I've read this... interesting if true...
Now, I DO know that the shuttle was very carefully designed to create a shock wave that kept the hottest part of the gases actually a couple inches AHEAD (or just above the surface) of the surface of the heat shield... temperatures in the shock wave typically ran around 4,000 degrees IIRC while the temperatures on the tile/wing leading edge surface was only around 2,500 degrees... That was a big reason why the shuttle was SO vulnerable to heat shield damage-- it eliminated the formation of the shock wave in a localized area, and let the hot gases strike the surrounding surface DIRECTLY, as well as the area of the damage as well... the heat shield couldn't handle the direct heating of the hot gas striking it, and started disintegrating, leading to an "unzipping" effect where the hole gets larger and larger...
Shock wave physics are pretty interesting stuff... I was reading an interesting book a couple years ago about the difficulties involved in designing jet engine air intakes on supersonic and hypersonic aircraft, using movable cones or drooping "wedge" intakes, or movable "fences" to establish shock waves ahead of the intake, and the importance of keeping the shock wave out of the intake, since the jet engine can only use subsonic airflow-- so the shock wave has to be shaped properly to keep the supersonic airflow out of the intake, as the air drops subsonic crossing the shock wave...
If you're vehicle is "fluffy" enough (large surface area with low total vehicle weight) you don't need a heat shield, per se, at all... just a metallic structure, (called a "hot structure") to handle the heat. In the early days when the Faget shuttle was the plan, (short straight wings like a standard airplane and low vehicle weight at reentry) the plan was to just use a hot structure of Rene 41, an alloy typically used in making jet engine turbine blades (IIRC). When they went to the larger delta-wing glider for the larger payload bay and greater cross-range that the Air Force required, the increased mass of the spacecraft and higher reentry heat loads required coming up with a reusable heat shield material, as the heat loads were too much for hot structures. The rest is history...
Later! OL JR