There are many things that I have a problem understanding...
because they seem to contradict each other.
This is one of them.
There are others...
I understand that the moon causes a high tide when it passes overhead (gravitational influence)
but knowing that,
I do not understand why that causes a 2nd high tide on the opposite side of the earth.
I understand why hot air rises and cold air settles (buoyancy)...
but knowing that,
I do not understand why the beach is hot and the mountain tops are cold.
I understand why wind impacting you makes you feel cooler (wind chill),
but knowing that,
I do not understand why meteorites and returning spacecraft get hot when they impact the atmosphere.
I’d better not put any links about the Potsdam Gravity Potato then.
The high tide opposite the moon is caused by the lack of the moon’s gravity, because it’s about 8,000 miles farther away from the moon than the nearer side of the earth. The earth is also orbiting the earth-moon barycenter so some of it is caused by centrifugal force.
High altitudes are cold because the air is thinner. The individual air molecules contain the same amount of heat, but because there are less of them the temperature is lower.
Meteors generate heat because they are converting kinetic energy into thermal energy through friction. Wind chills you because it’s carrying away body heat through convection.
Mountaintops are in a thinner part of the atmosphere than beaches at sea level; not as much air to absorb sunlight to make heat.
If wind hit you at 17,500 mph, the speed that spacecraft travel at when re-entering the atmosphere, it would heat you up too; it would probably cook you as well.
The last is friction from the atmosphere
The next to last maybe atmosphere too and it’s less dense there and doesn’t hold heat like on surface