You should not make sudden stops in front of large trucks and buses because:

Large vehicles require longer distances to stop and accelerate than smaller vehicles do. Making a sudden stop in front of a large vehicle is dangerous because the other driver may not be able to stop in time to avoid a collision.
DMV Writen Test