Just a guess but at a museum I assume they're looking out for vandals. If it's a water bottle the counterpart would be something like concentrated sodium hydroxide in which case a single sip is sufficient.
Not sure how they would handle dye in a paper coffee cup though.
I doubt that's against vandals I think it's against terrorists with liquid explosives/poison.