Gibbs free energy and favorability
A process at constant temperature and pressure is thermodynamically favored when $\Delta G = \Delta H - T\Delta S$ is negative, so the signs of $\Delta H$ and $\Delta S$ decide whether it is favored at all temperatures, none, or only above or below one temperature, though a favored reaction can still be too slow to see.
From General Chemistry.