This is realization is known as "Recalibration".
Recalibration is defined that it is to recalibrate something,which means to change the way you do or consider something. Like in the given scenario, Brett and Ernie lives in a different ways inside and outside their relationship.