Diffusion of hydrogen

a is a porous cylinder. Since hydrogen molecules $ H_2 $ are smaller than the oxygen molecules $ O_2 $ and nitrogen molecules $ N_2 $ in the air, hydrogen diffuses into the cylinder faster than air diffuses out. This increases the pressure in the cylinder.