A US nonprofit allows Americans to donate tax-free, but Mastodon is still a German company, now with a different tax status. Quite a few European NGOs have a US nonprofit. The nonprofit does not manage the company.
Our operating structure is still the Germany-based Mastodon gGmbH. The new US non-profit is here to facilitate fundraising in the US and promote Mastodon there (plus maybe one day pay developers directly, if we hire in the US).
RISC-V moved to Switzerland because many of their members are Chinese and it was looking like that was going to be very complicated if there were US sanctions on Chinese tech firms.. not because of some fear the US would interfere in the actual running of the org.