Of course it's wrong to ignore a child when they're asking a question, kids ask stupid questions all the time that's how they learn, you'll just make yourself look stupid by ignoring the child.
Yes, it is wrong to ignore them. They are a child; they do not understand something and are asking for your help. Why would you not answer them?