The DNA samples loaded were treated with the same resriction enzymes, which search and cut in specific sequences. I
If all the samples were the same, the fragments woul be of the samen lengths in all samples, and the same pattern would be observed in the gel. This is not the case in the example, so the samples added at the beginning were not identical.