Because of the speed the car is going. If you feel the car moving at about 50mph and it gradually slows down to 15mph then it’s decelerating. Then if you feel the car going at 15mph and gradually increase to 50mph then it’s accelerating. You can tell by your feeling and the speed you feel the car driving.