This is because the white colonies are the ones that have taken up the recombinant DNA, while the blue ones have not. This is called blue-white screening, a molecular cloning technique, and is conducted on X-gal medium and utilized selection using the beta-galactosidase gene.