@blackshire When you, as an Irish tax resident, sell US stocks, there is a taxable event in both Ireland (Irish resident selling asset) and a taxable event in the US (the sale of a US asset)
Both countries will seek to tax you on the event, but then these countries have double tax agreements...