Nintendo can't just ramp up production at will to meet demand, they're competing against companies like Apple for parts. Can't make 20 million Switches if you only have access to enough LCDs or memory chips to make 10 million.
http://www.foxbusiness.com/features/2017/05/31/nintendo-fights-parts-shortage-for-switch-wsj.html







