What is the state of the refrigerant immediately before the expansion valve?
In a vapor - compression refrigeration system, the refrigerant should be a liquid at high pressure just before the TEV.
After passing the expansion valve, in the evaporator, refrigerant evaporate thus taking the heat from the medium being cooled.