How do the 3 states of matter change?