The answer depends on the trolleybus stopped in the middle of the intersection in the bus's path. A green light lets you go, but you may not enter an intersection if a traffic jam ahead would make you stop right in the intersection, getting in the way of vehicles on the cross street. The bus would end up stopped behind the trolleybus, blocking the way for traffic crossing in front of it when their light turns green. So the bus driver waits before the intersection until the trolleybus clears the way