Question: this is what occurs when matter transitions between solid liquid and gas?
Answer: phase transition