It’s likely that the dough was too runny! Making this type of pastry dough is a delicate balance. Piercing like eclairs halfway through cooking also helps dry the dough out if it’s clearly way too wet and runny.