If you think of the thermometer in its constituents, you should be able to figure out the reason for this.
- You have a graduated, hollow, closed and vacuumed, glass cylinder.
- You have mercury or alcohol, which will expand or contract, depending on the temperature, within the space allotted in the glass cylinder.