From the situation described in the question, John seems to have fallen prey to the (A) framing effect in seeing his relationship with Mary.
Framing effect is defined as a cognitive error that a person experiences, where an individual is likely to decide on something based on how they are presented. If it is presented in a negative way, the individual will more likely take risk, but if it is presented in a positive way, the individual will less likely to take risk.