The implication is that the heating is like when one compresses air in a bicycle pump, the increase in temperature that comes from adiabatic (reversible, isentropic) compression of a gas. And some compression does occur, so there is some necessary heating from that source (as required by the second law).
But entry heating is not reversible. It's fundamentally irreversible, in fact. The gas is going through a shock. Shocks fundamentally cause an increase in entropy as fast gas slams into slow gas over a region whose thickness is on the order of a mean free path of molecules in the gas. And, in fact, the increase in density of gas going through a shock approaches a limit (around 4, IIRC, for air) regardless of the Mach number. So at sufficiently high speed most of the heating is coming from dissipation at the shock (a process akin to friction), over and above the heating implied by adiabatic compression.