Human chorionic gonadotropic (hCG) and human placental latogen (hPL) are peptide hormones produced and excreted by placental trophoblastic cells during pregnancy.
So we have some understanding of why we accept these cells in our body, but there are still some mysteries because not only trophoblastic cells are making the traveling.