When the dough is baked in the oven, it is normal for the dough to expand. This is because the moisture in the dough turns into steam at high temperatures, and the outer skin is baked first when baking, and the baked skin is not easy to ooze.
When the steam comes out, the steam inside will expand like a balloon.