The correct option is C elastic collisions of the molecules on the walls.
Pressure on the walls by any fluid is due to elastic collision of molecules pf fluid with the wall of the container. Collisions between gas particles and between the particles and walls of the container are elastic collisions. When the molecules collide with the wall of the container, they exert force on the wall and thus they exert pressure on the wall.