It is a fact that the pea comb and blue egg gene are relatively closely linked on Chromosome 1 of the chicken genome. What does this mean? If you cross a pure pea-combed, blue-egged individual with a pure single-combed, white-egged individual, 1st generations should all be pea-combed and lay blue eggs because both genes are dominant.
If the 1st generation are bred to each other to make a F2 generation, most pea-combed individuals will lay blue eggs and most single-combed individuals will have white eggs.
Below is a graphic of a few individuals from this cross.
Individuals 1, 2, and 3 would all have peacombs and lay blue eggs. Individual 3 has a "cross-over" between it's two chromosomes but still will have a peacomb and lay blue eggs. In the next generation, this individual could have daughters that have single combs and lay blue eggs or peacombs and lay white eggs because the linkage has become switched.
Below is an example of a couple of the minority of "cross-over" events in the 2nd generation or later where the hen has a single comb and lays blue eggs or has a peacomb and lays white eggs.
It is important to know what breeds you are starting off with in all this. For instance if you are crossing a legbar (which has the single-combed gene linked with blue eggs) and Cubalayas (which has the peacomb gene linked with white eggs), then the genes will be linked opposite to the examples above.
However if you are crossing an Ameraucana (which has the peacomb gene linked with blue eggs) and leghorn (which has the single comb gene linked with white eggs) it will follow the examples above.
If you are dealing with Easter eggers which are a mixed bag of generations of crossing, the deck will already be shuffled a bit so it is more unpredictable.
Basically the moral of the story is that these two genes will travel together the majority of the time but there will always be recombinations between the two in crossing them, leading to the opposite combos.
Here is a short research article to back this up and there are others as well.
https://science.sciencemag.org/content/90/2326/88