D H said:
Saying that the angle of repose is responsible for sand dunes is exactly what you have done by saying that greenhouse gases are the cause of the lapse rate.
I didn't say GHGs cause the lapse rate, and that wasn't the original question.
The analogy runs like this:
Q1. Why do sand dunes form?
A1. The wind blows sand uphill.
Q2. What stops them getting really steep?
A2. Gravity
Q3. Why doesn't gravity flatten them out?
A3. The angle of repose.
Q1. Why does it tend to get colder as you go higher?
A1. Because the Earth is a source of radiation that GHGs trap and release
Q2. If I do the maths on that, the temperature gradient would be much steeper than it is.
A2. Convection tends to move excess heat upwards
Q3. Why doesn't convection bring it back to uniform?
A3. Because of adiabatic cooling.
To say that one specific thing is the cause of a complex process is fallacious reasoning.
The lapse rate, i.e. the specific gradient observed, is certainly a result of the whole shebang. I won't object violently to giving that answer also to the question as posed, but I certainly object to giving adiabatic cooling as the main or only explanation. There would be a cooling with altitude without convection and adiabatic cooling; but without some primary cause such as GHGs or diurnal variation there would be no convection, no adiabatic cooling, and no temperature drop with altitude.