The thing that the rat( or mouse?) pulls on releases the red rubber band. The lid itself is forced closed by the two yellow rubber bands that are on the sticks going through the bottle.
Ahhh! That makes perfect sense. I couldn't tell which way the red band was snapping. Thanks for clearing that up