The short answer is they aren’t different, see: the Equivalence Principle.
The long answer is… it’s complicated. Locally they are identical but a gravitational field will exhibit properties that an otherwise accelerating frame of reference does not: e.g. tidal forces. This equivalence stems from the observed fact that gravitational and inertial mass appear to be identical in value, possibly not by coincidence.
Latest Answers