When two people haven't seen each other for a long time, and instead of saying hi and catching up, one gives another a quick hug to be polite and continues on their way.
"Did you see that? I haven't seen him in two years and all he did was give me a drive-by hug!"
"He probably doesn't want to talk to you. You did cheat on him with his best friend."