USA didn't have to force ASML to stop selling to China, they just had to ask them nicely.
That seems like 20% true. The US had a brief EUV program ("EUV LLC") in the late 90s - it wasn't much compared to how much difficult, risky, and expensive development obviously still needed to be done afterwards. The EU also has basic semiconductor research, notably IMEC.
I have also seen that claim in a YouTube video by "Asianometry" and I wonder what the original source of that apparent misinformation is.
But USA didn't have to force them. ASML's EUV tech started out as a US funded venture, so I don't think they want to start a fight with USA.
And USA could obviously change its laws to block sales of technology even if less than 25% of the end product is from USA.
Think back to what went on from 1950-1990 in Europe and Asia, except it'll be even worse.
Blocking Nordstream 2 is the very bottom of the barrel compared to what's coming.
After a brief slumber the Russian Empire has awoken again in Europe and it's annexing territory (again). The Dutch would be foolish to spar with the US over ASML at this juncture. Dealing with Russia in Europe and China in Asia will take a concerted front by the US, Europe and their allies.
And a nuclear arsenal roughly the size of the second through fifth largest in the world, combined, and an inventory of main battle tanks roughly equal, quantitatively, to the second through fourth largest in the world, combined, etc.
When a country has outsized relative military capacity vs. relative economic capacity, especially when compared to their immediate neighbors, there is a very strong historical pattern of use or threat of use of the military capacity as a lever to achieve economic and/or territorial aspirations.
It can fail (while there can be a lag time, economic power is eventually transformable into military capacity), but it isn't unusual for it to succeed, or for the eventual failure to be at the end of a long and bloody conflict.