When baking powder becomes wet, its ingredients react and produce carbon dioxide gas.
The gas forms bubbles that become trapped in the batter; heating expands the bubbles and helps the baked product rise.
Gas formation supports a chemical-change claim when the reactants can produce a new gaseous substance; bubbles from boiling alone are a physical change.