The types of intermolecular forces in a substance are identical whether it is a solid, a liquid, or a gas. why then does a substance change phase from a gas to a liquid or to a solid?