It's not a stretch to imagine this if you think of it not as "babies believe they can communicate with thoughts" but rather "babies haven't realized that they need to communicate". They simply neglect the step of ensuring that others know the same things as themselves. People who retain this flaw into adulthood are called programmers.