If we take the first law of thermodynamics: $$ΔQ = ΔU+ΔW$$ And we consider a system of a ball falling from height $h$ in an Earth-like gravitational field(no air drag and $h$<<$Rₑ$) $$ΔU = mgh$$ and $$ΔW = -mgh$$ therefore ΔQ = 0 and the process must be adiabatic.
I think I am going wrong somewhere as this means that the ball on falling and just before hitting the ground has a higher temperature than when it was released (even if atmospheric temperature is same/ nearly same at both points). How is that possible?