How do the states of matter change during evaporation?