Term: bro switch
Example: i would find her attractive normally, but since she's myles' girlfriend, i have my bro switch on
Definition: "the "bro switch" is the figurative switch that one would "flip on" so that they don't find their friend's partner sexually attractive