Boomerang Buddy
When you judge somebody (usually in a negative way) before you know them very well and then in the future end up becoming a good friend of them.
Jim: Didn't you say you hated that guy?
Joe: Yeah, but he is my boomerang buddy.
Joe: Yeah, but he is my boomerang buddy.