The White House’s trade representative in late August withdrew a recommendation to restore some of Ukraine’s trade privileges after John Bolton, then-national security adviser, warned him that President Trump probably would oppose any action that benefited the government in Kyiv, according to people briefed on the matter.

The warning to Robert E. Light­hizer came as Trump was withholding $391 million in military aid and security assistance from Ukraine. House Democrats have launched an impeachment inquiry into allegations that the president did so to pressure Ukrainian President Volodymyr Zelensky to investigate the business activities of former vice president Joe Biden’s son Hunter. As part of the inquiry, lawmakers are closely scrutinizing the White House’s actions between July and September.