Mrs. LaCross leaves school and accidentally leaves her coffee mug on the roof of her car as shown in the picture below.
She was traveling at a constant pace until a student rushes in front of her not using the sidewalks and crosswalks and she had to slam on her brakes. The mug will then move foward

Why will this happen to her coffee mug?