Baking soda and baking powder are responsible for rising cupcakes or cakes in baking. This problem may arise when you have added more flour than required. If this happens, you need to add more baking soda and baking powder to the batter.