Researchers have shed light on why some species cannot tell the difference between their own offspring and those of intruders that have been slipped into their nests.