Because the inputs are generally from people around them who speak to and mostly understand one another, it is a historical fact that children generally grow up speaking a language that is similar enough to those around them that misunderstandings are rare.