Common misconception. Your craft compresses the atmosphere immediately in front of it which increases temperature. The ideal gas law (PV = nRT) is the mathematical explanation; P = pressure, V = volume, n = moles, R = gas constant, T = temp. More info: https://en.wikipedia.org/wiki/Ideal_gas_law https://en.wikipedia.org/wiki/Atmospheric_entry (shock layer gas physics section)