Answer :
When the winch is pulling it up it's first hill, it is losing it's energy to give it to the coaster. It starts gaining energy because its height. Then when it goes down the hill, gravity kicks in and the potential energy turns into kinetic energy.