Why is a thermocouple thermometer suitable for measuring high temperatures but not a liquid-in-glass thermometer?

A thermocouple thermometer can measure high temperatures due to its heat-resistant metal junctions, while a liquid-in-glass thermometer is limited by the boiling point of its liquid.