Why does the liquid inside the thermometer goes up or down?