Substance X transfers thermal energy to substance Y through conduction. What is an accurate conclusion about the condition of both substances before conduction occurred?