It's because it's not based on a simple measure of the similarity of meaning of the words. It's based on how often the words are used next to each other, which means that since celsius is used more often with the word temperature in the corpus, it will be closer to the word temperature.