Human beings enter the world of life when they are born with a vast storage space in their mind that is constantly expanding. At the same time, it also constantly matures in its processing complexity. All this space starts off empty, though, and has no facts with which to interpret any aspect of their surrounding environment. It has only its rudimentary programmed instincts which allow it to stay alive. Thus, once a child has acquired the ability to communicate to the level of inquiry, the child will naturally begin to ask any questions necessary in order to fill gaps in their understanding and interpretation of their sensory input.
Children do not typically consider the epistemic or philosophical value of the responses they receive, or of the questions that they ask. They simply recognize a missing piece of their understanding, assume there is a piece that fits, and assume that asking an adult (usually a parent) will result in them providing the child with that missing piece.
In the same way, there is a continual importance of being inquisitive about spiritual questions with the confidence in God’s ability to provide an absolute factual answer to that question. See James 1. That is the best way to really gain certainty about the most important matters we will ever encounter.