The relevant principle of jurisdiction here is that a state has jurisdiction over the acts of its citizens. It's not uncommon and it's certainly not just a US thing (eg. here is a Brazilian court convicting one of its citizens over a murder committed in Australia: https://www.theguardian.com/world/2023/jun/23/cecilia-haddad... ).