when yeast is active in your dough it eats away at starches and sugars and releases gasses. these gasses are then trapped inside your dough by the gluten mesh that has been created. if your gluten mesh is not fully developed it will not be able to supposer those gasses and thus resulting in a flat or collapsed bread.