How a gravitational field accelerates particles and atoms