To satisfy equilibrium, an additional shear force must be provided. The bolts provide this additional shear force.

Shear flow q is the measure of the shear force required per unit of beam length.

Bolt spacing in built-up steel beam
Bolt spacing in built-up steel beam