Choux pastry rises due to the steam released by the flour in the form of water vapor during baking. Initially, the flour absorbs liquid while making the panade, a step in making choux pastry.