As I understand, the worm cells act differently because the worm is placed in a solution which interferes with their electrical messaging, so it makes sense that the offspring growing up in the same solution would grow with the same defects as the parents. I think that's all there is to it.