A drinking bird works by cooling of the head via. evaporative cooling. That will cause the liquid inside the glass construction to condense. According to the ideal gas law, that will cause a pressure difference, sucking up all dichlormethane. This causes the center of mass to change.