On particle level, temperature is a measure of the kinetic energy of the particles. By increasing the temperature, the particles hit the "walls" of the marshmallow with greater force, forcing it to expand.
On mathematical level, Charles states:
Multiply with
Since volume and temperature can not take negative values,