Temperature is directly related to the speed of the molecules such that as the temperature decreases, so does the speed of the molecules. When the balloon was placed in the freezer, the temperature plummeted and so the molecules moved less. Due to this lack of movement, less space was used by the balloon so it shrunk.