Having money offshore is ok. Hiding money offshore is not. I'm not a tax accountant, but my lay understanding is that's the letter of US tax law
The US is also very unique in which it’s the only country that expects you to pay taxes on money earned overseas as well.