Diffusion occurs faster in a gas because the kinetic energy of particles in gaseous state is much higher than in liquid which makes the particles move faster. Thus, diffusion occurs easily and faster in gas particles.
In liquids, there is lesser space to move and also, the kinetic energy of particles is lower than gas particles. Collisions between the particles while moving, are more frequent between the molecules in liquids, resulting in a slower rate of diffusion.