Unrealized gains can be taxed - for example, Ireland has a Deemed Disposal tax on ETF investments, where after 8 years, any gains are considered to have been realized and tax is due (even if no sale has taken place)
Deemed disposal subject ETFs can be taxed under an eight year exit tax scheme, but this can be avoided by simply investing in US domiciled ETFs or individual stocks.