Because ASML uses lots of technologies and IPs originated from the U.S., consequently is subject to export control & entity list restrictions.
Semiconductor industries has been growing into a very tightly coupled and globalized eco-systems these days. No one country can own or domesticate the entire ecosystem or supply chains, albeit companies headquarters in the U.S. still own a significant portion of the technologies and intellectual properties.