From the resemblance between eating a juicy mango and performing oral sex on a female.
Guy: My girlfriend likes me to perform oral sex on her, but I don't enjoy it.... It's just so ... wet and messy.
His buddy: Dude, think of it as, like, eating a mango. In fact, my girlfriend calls it eating the mango.