Here is another analogy that may not be too scientific but shows the point. If our body encounters a new virus, unless the virus itself is adaptive (like HIV), our body knows how to deal with it and sends soldiers to kill those viruses. You consciously do not know what the virus composition is and how to create the antibody. It happens automatically with a preprogrammed adaptive direction. Neither God nor you direct such attack or create the antibody consciously. Similarly, the life forms over millions of years of DNA advancement has built is mutation techniques (not random) that deals with those mutations based on external stimuli. That is how life forms have changed and adapted to the environment. Finding that mechanism is difficult but research is underway. Once we can simulate even a lower life form in a super computer, we may find, how it evolves. Then the theory can become facts.