Flashbulbs require a sync built into the camera/shutter to delay the shutter firing by 10/20/30 milliseconds depending on the type of bulb.

So the shutter must be tripped and the bulb circuit closed while a delay mechanism prevents the shutter from opening while the flash builds up towards it's peak output.

With electronic flash there's no delay.

Ian