AFAIK it all boils down to the fact that during embryonal development our cells, which at that point were just a blob of undifferentiated autonomous chemical machines, somehow managed to unanimously agree upon the cardinal directions (up-down, left-right, front-back) for future development - and thanks to this, we don’t have toes growing out of our ears.
I mean, that’s what dna is for. These machines aren’t operating blindly (or even “cooperating” or agreeing on anything, really). They’re following the code that makes up who we are.
Those who don’t usually don’t make it far.
Survivorship bias
Sure, but every cell has the same DNA. Yet some “decide” to “agree” on making toenails, while others differentiate into eyes.
If an embryo decides to split in two, and then sends out the marker that “this is the right side” and it’s too close to the other embro, there will be a set of identical twins, but one will have the heart on the right side, appendix on the opposite side etc. This needs to be known if the “mirrored” person has a colonoscopy, since the colon is folded the opposite direction.
Someone was probably born with toes on their head in the past and life didn’t go so well that they could have children that also survived. This is why our DNA doesn’t have instructions for growing toes on our head.