What impacted David in the chrysalids?

His meeting with Sophie