Two lead columns with flat bottoms are tightly pressed together, and a heavy object hanging below them can't be pulled open, indicating that there is mutual attraction between molecules.
When the piston presses down quickly, the piston does work on the gas, so that the internal energy and temperature of the gas increase, reaching the ignition point of cotton, and cotton burns.