Dresses are slightly easier when it comes to changing a diaper, and when you want your toddler to learn to walk, they sabotage attempts at crawling (my daughter’s at that stage now).
Seriously though, they don’t make a lot of sense apart from making babies look cuter and holding them back.