Physical conditions like temperatureand pressure affect state of matter. ... When thermal energy is added to a substance, its temperature increases, which can change its state from solid to liquid (melting), liquid to gas (vaporization), or solid to gas (sublimation).