"A child doesn't eat apples" should also be correct, shouldn't it? They said it's wrong. But I don't really think that in this particular case a/the makes any difference.
It's ok to drop है in negative sentences such as this. However most Hindi speakers don't and I advice you not to.