It's because of the same reason that you can buy Sig 226 and Beretta m9 mags with more than the standard 15rds, in a flush fit mag... And that there are 8rd flush fit 1911 mags...
These guns are designed with military and police use in mind. Military and police tend to be harder on equipment, and demand longevity despite that. And the tendency for these agencies to not do preventative maintenance on firearms, they tend to fix only after a hard failure. "Sir, my magazine keeps causing jams." "Well it looks OK to me son, so it can't be the problem, you must not clean your rifle enough."
It boils down to the magazine reliability and the mag springs.
While cycling springs wears them, and just sitting compressed does not... Pushing a spring past its elastic limit does damage the spring, and simply pushing a spring close to its elastic limit during repeated cycling wears them faster than a spring that is loaded less during cycling.
So the mag springs work harder in the higher capacity mags, between two otherwise identical mags. This means the lower capacity mag will be reliable for longer.
Reliability due to increased spring pressure is also a possibility. Reduced capacity prevents this.
So, while Hk, Sig, and Beretta CAN shove more rounds into their mags, they choose not to for the reasons I described above.
I read about this purposeful design decision somewhere a few years back, but I can not remember where.