Dunbar attributes this bonding effect to endorphins, which are independently boosted by alcohol and laughing. We can see a kind of virtuous circle here, where alcohol not only itself triggers endorphin release, but by lowering the barrier to laughter and singing and dancing and perhaps more risqué behavior, encourages actions that serve to further ramp up endorphin levels.