Chemistry. Physics. Feedback. Natural Selection.
The process the generated DNA did not exist in a vacuum. It took place in a world governed by the laws of physics and chemistry. It gradually developed, influenced by natural selection.
A better question would be, how *could* you get a random distribution? In truth, almost nothing at the macro-level is random.