Neither recombines, and thus Y-DNA and mtDNA change only by chance mutation at each generation with no intermixture between parents' genetic material.
What is the only way that Y-DNA and mtDNA change?
chance mutation