Ojaibrad, I think the question IS dealing with state change. State change is the basis of modern refrigeration and has everything to do with why the heat has to be dissipated before going through the XV. Understanding state change is vital to grasping the idea of how refrigeration works.
Simply described, a refrigeration system has four devices: a compressor, a condensor coil, an expansion valve (or a capillary tube in small devices like home refrigerators), and an evaporator coil.
The refrigerant is a special, usually synthetic, substance with a very low boiling point (often way below zero degrees F at atmospheric pressure.)
Obviously, for a compressor to work, the refrigerant must be a gas when it reaches it - a liquid cannot be compressed. Yet, to perform its work, the refrigerant must become a liquid. How does it do this? By dissipating the latent heat stored in it.
Let's start at the expansion valve, where the refrigerant is a high-pressure liquid. Moving through the valve, it enters the low-pressure area of the evaporator (which is also the suction for the compressor.) Lowering the pressure lowers the boiling point, so the liquid refrigerant boils to a gas as it flows through the coil, absorbing heat from the coils, and the area to be cooled, in the process. The heat is now "stored" in the refrigerant as something called "latent heat of vaporization."
That heat has to go somewhere! The only way to release the heat is to change the gas's pressure. The compressor takes in the gas and pressurizes it, raising its boiling point to a very high temperature. It is sent to the condenser coil, where it is condensed back to a liquid, releasing the latent heat that it absorbed from the evaporator coil.The heat is dissipated to the outside. In effect, the refrigerant has "moved" the heat from one place to another!
So, in brief, the heat must be dissipated prior to going through the expansion valve because the gaseous refrigerant has to change state back to a liquid in order to absorb more heat.