Ram Pressure is pressure exerted on a body due to its movement through a fluid. It is:
P = ρv²
In the latter case, the pressure can strip away the galaxy's interstellar gas (Ram-pressure Stripping).
Compression from the high pressure heats a gas, and for an object moving sufficiently fast, such as meteors or space vehicles entering the atmosphere, the compression contributes more heat than does the friction.