Why are temperature and pressure represented as the number 2 in Gibbs' Phase Rule?
The underlying ah-ha moment is that the Gibbs phase rule works best in (constructing) a phase diagram. And those are usually 2-dimensional - with pressure along one axis and temperature the other. So the "2" simply reflects that 2 dimensionality. At 2 degrees of freedom, there are no constraints and the system can change either pressure or temperature and be stable without a phase transition. If you have 1 degree of freedom, then you either have a constraint on $P = k$ or $T = k$ or a "mixture" $f(P,T) = k$ (If P is changed, T must be a specific value) . At 0 degrees of freedom you are at a triple point $(P =k, T=k)$ or similar (there are a handful of named "points") - any movement in either direction means the universe is going to change the phases present or the components present.

So they are not really constants, but if the degrees of freedom are 0, then they are... "fixed" - or better yet "constrained".

The archetypical example is Ice-Water-Steam. There will be at least 3 lines in this diagram from 2 phases in equilibrium and the 1 component - and 1 point. 

Out of the 3 components, lets take 2 and see what we get.

$$DoF = 1-2+2 = 1$$.

So we see that for 2 phases to be in equilibrium we have 1 constraint eating away at our DoF and we know then that there will be a fixed relationship between T and P here - we can change P and still have the equilibrium but then we have to change T as well with a specific amount. This creates a line in our T-P diagram. Since there are 3 ways to arrange this we get 3 lines (I+W) + (S+W) + (I+S)

So lets see what happens if we force all three phases to be at equilibrium:

$$DoF = 1-3+2 = 0$$.

So that is no wiggle room. There will be a point where this happens, a specific combination of P and T - where this equilibrium exists.

Now lets say I invent a new phase, and I call it Ice-9. Lets see if we can find a place where this coexists with all the others.

$$DoF = 1-4+2 = -1$$.

Nope. This is not stable. No equilibrium can exist which permits my Ice-9, regular ice, water and steam at the same time. So now we know that Kurt Vonnegut is just making stuff up, what a hack. The result can be seen here... 3 lines and a point. Don't mind the dotted stuff, that is because water is more complicated than what it is at first glance