Who invented 4 pin qfn packages, probably an rf wizard wanting less parasitics.
As far as soic and msop, reduction in die size meant smaller package sizes could be used. Which costs less in materials in the long run. And a higher packaging density.
Under 0.5mm pitch, things get hard with pins, as they get too soft.