Muslin is cotton woven in an open, loose weave. That weave makes it light, breathable and quick to dry, and it also makes it crease. A wrinkled muslin romper is not a sign that something went wrong. Many parents leave the creases alone, and the fabric looks relaxed and lived-in once it is on.
If you would like fewer creases, the easiest fix is in the drying. Take the clothes out while they are still a little damp, shake them out, and hang them. Or tumble dry on low and fold them straight away. With muslin cotton, the creases tend to drop out as the fabric warms against a baby's body. The tumble drying guide for muslin baby clothes covers the heat setting in more detail.
If you do want to iron a piece, use a low heat setting and keep it brief. High heat is the thing to avoid. For the full routine, see how to wash muslin baby clothes to keep them soft: machine wash cold on a gentle cycle, then tumble dry low or hang.