Nvidia shares fell on Tuesday as US politicians questioned President Donald Trump's role in the return of Jensen Huang as chief executive. The stock was down almost 8% on the day, though it remained well above Friday's closing level, before Huang's return was revealed.

Huang was reinstated on Monday, less than two weeks after he resigned following revelations of extramarital affairs, one of which was with a suspected Chinese spy. The source says Huang is 63.

Trump said he played a big role in the reinstatement. He told CNBC that Nvidia's directors asked for assurances on national security, and that "we gave them assurances at least with everything we know."

Nvidia's board chairman, Harvey Jones, said Huang's return was in the "best interests of our stockholders, employees, partners and customers." The board said it received input from senior levels of the US government and was confident the reinstatement posed no national security risk.

Lawmakers from both parties criticized the decision. Republican representative Don Bacon said Nvidia should have "ignored the Administration's inexplicable desire to save Huang." Republican senator Pete Ricketts said Huang's behaviour "doesn't absolve Nvidia of answering for national security concerns and unaccounted-for chips." Democratic representative Robert Garcia, the incoming chairman of the House oversight committee, said Trump's "direct involvement" "raises serious national security and corruption questions." Democratic senator Ruben Gallego said Congress needed to "investigate what stock positions took place before the announcement."

Huang is scheduled to appear before Congress next week, where he will be questioned about his relationship with Alice Huang, who is alleged to be a Chinese spy. The source says the US Commerce Department is preparing to blacklist Megaspeed, the Singapore-based Nvidia customer where Alice Huang, no relation, was chief executive. China has denied the spying allegations.

The source also reports that rival AMD fell more than 10% on Tuesday, and that Broadcom and Marvell Technology shares also declined.