This is using the Gestalt principle where we are using positive and negative space. The negative space of the coffee cup is actually a person talking and the top of the coffee cup comes out to be a thought bubble.
I feel like if I think about it too long, I want to say it's not easy to read. But then I realize that I knew what it was as soon as I saw it, so obviously its working. Being recognizable is very important.