LAHORE, Pakistan — Secretary of State Mike Pompeo landed in Pakistan on Wednesday for a meeting with the new prime minister, Imran Khan, saying he wanted to reset a badly strained relationship but repeating American demands that the country do more to fight militants at home and in Afghanistan.

Even before Mr. Pompeo’s plane landed, Pakistani officials were calling on Mr. Khan to cancel the meeting, enraged about the cancellation of $300 million in American aid announced just days ago. The meeting will be Mr. Khan’s first with a high-level American official since he was sworn in last month.

“We have worked closely with the Pakistanis in my role as C.I.A. director; our teams have been working together for a long time,” Mr. Pompeo said on his flight to Islamabad, the capital. “There are lots of challenges between our two nations, for sure, but we’re hopeful that with new leadership that we can find common ground and begin to work on some of our shared problems together.”

He added that the Trump administration had “real expectations” of Pakistan.

But Pakistani officials and army officers are deeply mistrustful of the United States. They say they are being made a scapegoat for the American military’s failure in Afghanistan, where after 17 years of war the Taliban control large portions of the country.