Scientists have long wondered how male pipefish and seahorses are able to carry young without their immune systems rejecting the offspring as intruders.