Hmm…I know that a valid visa can be used in an expired passport in conjunction with a new passport. I wonder if it makes any difference if that new passport is from a different country.
It looks like maybe not ok:
”If your visa is still valid you can travel to the United States with your two passports, as long as the visa is valid, not damaged, and is the appropriate type of visa required for your principal purpose of travel. (Example: tourist visa, when your principal purpose of travel is tourism). Both passports (the valid and the expired one with the visa) should be from the same country.” (https://travel.state.gov/content/travel/en/us-visas/visa-information-resources/frequently-asked-questions/about-basics.html)
I guess that “should” might be a little squishy.