The locations of these repeating sections are predictable, but the number of times a group of nucleotides is repeated varies from chromosome to chromosome.
Using the second swabs to test for additional markers on the Y (male) chromosome, can help narrow a large pool of close matches - potentially thousands of profiles - to a more manageable number.