Which scenario shows an object gaining potential energy and losing kinetic energy?

roller-coaster car accelerating as it moves down a hill

roller-coaster car slowing to a stop to pick up passengers

roller-coaster car stopped while it picks up passengers

roller-coaster car slowing as it moves up a hill

The scenario that shows an object gaining potential energy and losing kinetic energy is the roller-coaster car slowing as it moves up a hill.