Why Do Temperature and Velocity Have Different Relationships in the Solar Wind and in Interplanetary Coronal Mass Ejections?