It happened on Monday as the president was voting in Chicago.
He was standing next to Aia Cooper when her boyfriend walked by.
"Don't touch my girlfriend, now," her boyfriend, Mike, said.
"I didn't know what to say. I was just shaking. I said, 'Oh my God. This is the president. What am I supposed to do?'" Cooper said.
"There's an example of a brother just embarrassing me for no reason. Just for no good reason whatsoever," Obama said.
The president then gave Cooper a memory after imagining what she would say to her friends.
"I can't believe Mike. He's such a fool. I was just mortified. Fortunately, the president was nice about it. So it's alright," Obama commented, still standing next to Cooper. "Give me a kiss and give him something to talk about. Now, he's really jealous."
"He gave me a hug and a kiss on the cheek. On the cheek. Just the cheek. Please, Michelle, don't come after me," Cooper said.