What's most likely is a poorly trained waiter/waitress uses an eagle claw grab to hold the glass as it's moved and served. That means their fingers, god knows where they've been, touch the rim of the glass I am about to sip from.
I've seen this happen everywhere from the cheapest joint to the poshest of posh establishments that I view it as simple inevitability so long as humans are involved in serving.