IIRC this was partially elaborated on in Matrix 4, where
spoiler
machines harness the psychological stress/torture of Neo and Trinity by putting them in a situation where their lives are entirely different, yet they occasionally interact and subconsciously remember each other.
It's the Misery Nexus we were warned about.