Yeast was inactive or dead
CommonYeast is a living organism and loses viability with age, with exposure to air and moisture, and rapidly on contact with liquid above the temperature its cells survive. Dead or weakened yeast produces little or no carbon dioxide, so nothing inflates the dough regardless of how well it was developed.
What to change
Test the yeast before committing a batch
Dissolve the yeast in warm — not hot — water with a pinch of sugar and leave it for ten minutes. Vigorous foaming means it is active. No visible activity means it will not raise a dough.
Worth doing whenever yeast is older than a few months, has been open a while, or has been stored somewhere warm.
Trade-off: Adds ten minutes, and consumes a small amount of yeast.
Check the temperature of the liquid
Use liquid that feels comfortably warm rather than hot to the touch, and measure it if a thermometer is available. Water hot enough to be uncomfortable on the wrist is hot enough to damage yeast.
Any yeasted dough where the liquid is warmed before mixing.