The difference in various states of matter is due to the difference in the distances between their constituent particles.