This in fact is probably the origins of the two moons around Mars: they were two small protoplanets that the gravity of Mars pulled in its orbit. As for our Moon, the story is believed to be different. It is assumed that the Moon formed from the collision of a large planetesimal with the Earth. ❤️
The law of segregation occurs during meiosis when gamete are formed. At this time, the alleged for each gene segregate from one another. As a result, each gamete contains only one allele per gene.