On the physical sensors are a number of pixels. The smaller you can make one pixel, the more pixelpixels you can get on the sensor.
With time and progress in research and manufacturing, sensor manufacturers have been able to produce higher resolving-resolving cameras as pixel sizes become smaller.
The larger the pixel, the lower the noise (not taking into account other improvements that naturally happen over time).