we know that when the energy drops the entropy increases. but when the energy of a gas drops then it will become eventualy solid which has less degrees of freedem and therfore the entropy should decrease and not increase. Moreover high temp. has more entropy (gas for ex.) and as long as the temp increases -> energy increases and so is the entropy . but the entropy should DECREASE AS LONG AS THE ENERGY INCREASES. where is my mistake?