Too much egg was beaten into the paste
CommonChoux is loosened with egg until it is slack enough to expand and stiff enough to hold its piped shape. Past that point the paste spreads on the tray, so the steam generated in the oven escapes sideways from a thin sheet rather than inflating a mound. The quantity of egg cannot be specified by count, because it depends on how much water evaporated while the paste was cooked.
What to change
Add the last of the egg by feel, not by count
Beat in most of the egg, then add the remainder a little at a time, testing after each addition. Correctly loosened choux drops from the spoon in a thick V and a piped shape holds its ridges. A recipe’s egg count is a starting estimate, because the quantity depends on how much water evaporated while the paste cooked.
Every choux paste. It is the step that decides whether the pastry rises.
Trade-off: A paste that has had too much egg cannot be corrected by adding flour; it has to be started again.