Indirect staged rockets require a vent so the booster motor “burn through” can ignite the sustainer motor. Without the vents the hot particles from the booster motor might not make it up the sustainer motor’s nozzle - the cool air mass trapped between the booster and the sustainer has to be displaced so the hot gasses/particles from the booster motor can fill the space.