The Kinetic-Molecular theory explanation of it is that we assume that gases are composed of a collection of particles.
You can’t see these particles directly, so they are very tiny, and to notice any mass you must weigh a collection of the particles.
It is usually necessary to have a mole or more of gas particles to have significant a significant change in mass.