She obviously heard it somewhere. Social media is filled with snarky little captions about science being incompatible with God. It's probably time to have an open discussion about it, instead of trying to pinpoint where it came from.
I have seen the comments in news articles frequently divulge into attacks on religion - mostly snarky, no real debate involved. Kids are very impressionable to this. And it's all over the place, not just classrooms or churches or other places where debate is appropriate. All you can really do is prepare them for it, teach them the issues behind it and encourage them to discern. Otherwise they may feel compelled to identify with "science," because someone convinced them that it was cooler, or more convincing, and that you can't believe both.
There are all sorts of propaganda techniques that can make kids feel like they have to "choose" science over faith. It might be a good idea to introduce your daughter to the different types of propaganda, so she can recognize them. Particularly straw man, red herring, false dichotomy and ad nauseum (think Facebook). I highly doubt that her statement came from anything she learned in class, even if they are covering evolution. It's too trendy; she heard it somewhere and felt compelled to adopt it.