Teaching evolution doesn't do that, unless the teacher has a serious agenda they're trying to push. Simply describing the theory doesn't lead to a suggestion that there is no God. The proper response for a teacher, if asked what started the whole thing is to say "We don't know."
But of course, that's not the standard response.