It'd be because there would be energy lost as heat due to friction between the wheels of the car and the surface of the track.
So if it was a downwards slope with the car starting at the top and then rolling down, some of the GPE energy would be transferred into heat energy due to friction between the wheels of the car and the surface of the track, meaning that less would be transferred into kinetic energy. Hence, GPE would not equal Ek