I seldom put a coffee in my luggage. I'm not against security, but this is a stupid knee-jerk reaction.
They are talking about liquids like shampoos, mouth wash, etc.