Associative Regression
AKA "Revertigo", the tendency of a person to revert back to an older version of themselves when around people from their past.
When around his ex, through the phenomenon of Associative Regression, Bob started to speak with that stupid fake accent he used to use.