ISLAMABAD, Pakistan  The Obama administration is putting pressure on Pakistan to eliminate Taliban and Qaeda militants from the country’s tribal areas, but the push is straining the delicate relations between the allies, Pakistani and Western officials say.

The Pakistani military’s recent heavy offensive in South Waziristan has pleased the Americans, but it left large parts of Pakistan under siege, as militants once sequestered in the country’s tribal areas take their war to Pakistan’s cities. Many Pakistanis blame the United States for the country’s rising instability.

When Secretary of State Hillary Rodham Clinton arrives in Pakistan this week, as she is scheduled to do, she will find a nuclear-armed state consumed by doubts about the value of the alliance with the United States and resentful of ever-rising American demands to do more, the officials said.

The United States is also struggling to address Pakistan’s concerns over the conditions imposed on a new American aid package of $7.5 billion over five years that the Pakistani military denounced as designed to interfere in the country’s internal affairs.