The acceleration along the track is always equal for every car, but for each car that acceleration aligns with the hills/gravity in different ways. As the front car crests a hill, the coaster is decelerating; the front car is being pulled backward by the other cars.