In a rigid container, when the speed of the gas molecules decreases, the pressure of the gas also decreases.