Sounds like the ambient light sensor is adjusting the brightness for you. If you don't like the feature, you can disable it in Apple menu => System Preferences => Display => Display tab => Uncheck "Automatically adjust brightness as ambient light changes".

Liquid and computers don't mix. It might seem simple, but we see an incredible amount of people post here about spills. Keep drinks and other liquids away from your expensive electronics!