Before passing, the driver checks whether they can finish it safely. One of the conditions is that, after passing, they can move back into their original lane if needed without getting in the way of the vehicle being passed: without making it brake or squeezing it toward the edge. This matters especially for a bus: it is long and needs more room in front of the vehicle it is passing to get back into its lane. If there will not be such room, you must not start passing