The reaction of baking soda or baking powder with the liquid in the batter: These ingredients react together and cause air bubbles to form. ... Heat of the oven: The heat of the oven can cause baking powder to react further and cause more air bubbles, and the heat also sets the structure of the cake.