When the switch is open then no current can flow, on the other hand, when it is closed, current will pass through. When only “bulb a” is connected to the battery then more current is flowing to “bulb a” causing it to be bright. So the light of “bulb a” will be dimmer.