I don't follow international football all that much (love the WC though), but the USA (13th) is ranked significantly higher than Ghana (37th) in FIFA's world rankings.
The USA also had better betting odds to win the World Cup than Ghana (10/1 vs 12/1).
I'm not sure how the USA beating Ghana is much of a shock to anyone.