Yes this is basically the reason. Those countries need USD to buy american products.
If they exchange the dollars with the euro then someone in the EU will end up with those dollars and that person can't do anything but buy US products.
If they exchange the dollars with the euro then someone in the EU will end up with those dollars and that person can't do anything but buy US products.