Changing baby's outfit not working (used to work before)

I noticed something. The newborns whose outfit color I tried unsuccessfully to change appear in the game with the outfit they were born with, but if I click on “Change”, in Caz they appear with the modification I made. It’s very strange.

I don’t understand why it let me modify the outfit for some newborns and then not anymore.