Who said the animals were all adults. It's very possible they were all very young.
It’s also possible that the story is like a parable, meant to teach that God is willing to destroy evil but save the good, and will create promises to never hurt that which could be good. It doesn’t have to be literal, does it?