Imagine that a species of fish used to be a broadcast spawner (producing many eggs that then get no subsequent parental care) but has evolved to be a mouth brooder (holding the eggs in the parent's mouth until they hatch and then caring for the young for a while).