If a gas is compressed and heated, the pressure increases. This is due to which of the following?
A.
gas molecules evaporating
B.
gas molecules striking the walls of the container
C.
gas molecules condensing
D.
more molecules of gas being produced