And again, I don't have a problem with it. It's the World Cup. I would, of course, wished they had celebrated a bit less, but I also would rather have them celebrate like they did as opposed to not celebrate at all.
I also think you're discounting goal differential. The US has lost to Sweden in 2 of the last 4 major tournaments (2011 World Cup and 2016 Olympics), and drew with them at the 2015 World Cup. The winner of the group could very well come down to goal differential. As a result, it is actually quite different than celebrating a sack or dunk in garbage time. Those goals could be the difference between winning the group and finishing second.