"Differentiate" is a stronger word. Rather than just noticing differences, you are actually dividing things into separate categories. For example, "this machine weighs the eggs to differentiate the large, medium, and small eggs."
"Distinguish" just notices differences. For example, "the fact that that egg is broken distinguishes it from all the others."