You are holding a cup of hot tea. As you begin walking the tea spills out over the rim of the cup. Why?

the tea spilled because of air resistance.

if you had traveled faster this wouldn't have happened.

the cup and the tea act as one body with the same velocity.

the tea wanted to stay where it was, but you moved the cup.

Additionally, the force of gravity may have caused the tea to spill over the rim of the cup as you were walking. The motion of walking could have caused the tea to slosh around and spill out due to inertia and the lack of a secure lid on the cup.