The correct option is D The ship, because it has more mass.
Inertia is the natural tendency of an object to resist a change in its state of motion or of rest.
Inertia and mass are interrelated. Heavier objects offer larger inertia.
Since the ship is much heavier than the car, ship offers more inertia.