Part of it seemed to be Wales just getting their act together.
I read something about them changing their formation in the second half to have more players up front. USA was unable to make them pay for that with counterattacks. They seemed to have several chances to do so and just flubbed passes and such.