The US has a great women's team in part because lots of women play soccer, and in part because their aren't that many other competitive sports for them to play on a professional level.
The US has an OK men's team mainly because there are enough athletes left over after football, basketball, baseball, and hockey take their cuts to field a somewhat competitive team. They didn't qualify this time around, but they have qualified for seven of the last eight World Cups, so they're doing something right.
In both cases, it has little to do with how much money is spent (if that were the case, the US would dominate the sport) and more to do with how many top athletes decide to play the sport with kids AND stick with it as a profession once they become adults.
They claim it's an "amateur" sport in china. Which is just this side of ridiculous.
Even basketball is growing faster than football in China. This despite the government propping football up. Which is not an indictment of the Chinese, just pointing out that the people there, left to their own devices, would just as soon do something other than play football.