Why does the kinetic theory apply to gases?