The government permits the sales. In this case appears to be US manufacturers to NATO transaction, then NATO forwards weapons to Ukraine.
Of note, our Raytheons etc. will sell to anyone... Greed is good. Right? (Enter flag saluting)
We excel at blowing **** up.
When and if our gubment decides...