Baking soda reacts with the acidity in the buttermilk and releases little bubbles of carbon dioxide trapped in the dough. This has the effect of making the bread rise, a process known as ‘leavening’.