Every time Sherlock has a realization about his romantic feelings towards John, he deletes the memory that triggered it. In effect, he has lost conversations and pieces of memories. During a pretend relationship required for a case, he realizes these memories cannot be deleted or evidence will be lost. Forced to keep them, he has to decide what to do with his affections.