- We're actually on earth, not on the moon. So there is air resistance.
- And there is wind, but we don't know what it is! The problem is really stochastic.
- Also curvature of the earth.
All your objections are, of course, true. Those are added complications. But then again, if you can't solve the problem of a particle in vacuum, you have no way to solve the much more complicated problems.
The deterministic trolley problem is the simplest possible example that gets to the heart of the problem. That's why we study it - it's easy but it embodies some of the difficulties of the full problem. Once we understand that we'll move on to stochastic version.