Because that’s not how it works? If you give up your citizenship, it is irreversible. You’ll need to immigrate like you never were.
"It shall be unlawful for any person to sell or otherwise dispose of any firearm or ammunition to any person knowing or having reasonable cause to believe that such person ... who, having been a citizen of the United States, has renounced his citizenship"
And yes, this is actively enforced as part of the federal background check system.
Ironically, legal non-citizen residents can lawfully purchase firearms, even on a student or a work visa (although there are more hoops to jump through).