Let me see if I can address that, and let me start with a somewhat different example, that may illustrate it better, but also say how your example fits into that.
Say you have a large bottle of hydrogen, separated into two chambers. In one, the gas is hot, in the other one, the gas is cold. You...