Veteran CNN journalist Christiane Amanpour cancelled an interview with Iranian President Ebrahim Raisi after he demanded she wear a headscarf for their meeting in New York.
Amanpour pointed out that no previous presidents had requested this when she interviewed them outside Iran.
She says a Raisi aide told her it was because of "the situation in Iran".
The death of a woman detained in Iran for allegedly breaking headscarf rules has sparked violent unrest there.
Mahsa Amini, 22, fell into a coma last week, hours after morality police arrested her.
Officers reportedly beat Ms Aminis head with a baton and banged her head against one of their vehicles. The police have said there is no evidence of any mistreatment and that she suffered "sudden heart failure".
The protests, now in their seventh day, have reached 80 other cities and towns in the Islamic Republic. At least 17 people have been killed.
The interview would have been Mr Raisis first on US soil, during his visit to the UN General Assembly.
Amanpour said she had been ready to conduct it when one of the presidents aides insisted she covered her hair at Mr Raisis request.
"We are in New York, where there is no law or tradition regarding headscarves," she said later on Twitter.
Amanpour said Mr Raisis aide had made it clear an interview would not happen if she did not wear a headscarf, saying it was "a matter of respect".
Her team walked away from the interview refusing what she called the "unprecedented and unexpected condition".
The US anchor later posted a picture of herself without a headscarf in front of an empty chair where Mr Raisi would have sat for their interview.
Mr Raisi was elected last year and signed an order in August to enforce a new list of restrictions.
These included the introduction of surveillance cameras to monitor and fine unveiled women or refer them for "counselling", and a mandatory prison sentence for any Iranian who questioned or posted content against the hijab (headscarf) rules online.
The restrictions led to an increase in arrests but also sparked a surge in women posting photos and videos of themselves without headscarves on social media - something that has only intensified in the days following Ms Aminis death.
Its a question women correspondents confront when interviewing senior officials where headscarves are an issue. When we work in Iran, where covering is obligatory, weve had to comply.
In the past, Iranian officials have accepted the rule doesnt apply beyond their borders. But the image of an unveiled female correspondent - and one with Iranian ancestry - questioning an ultra-conservative president on what is now an explosive issue at home must have been seen as too politically risky.
Theres a similar sensitivity in Taliban-run Afghanistan. Some senior Taliban have even told us there cant be images of them sitting with a women journalist. But some are less strict.
Many of us are usually guided by what works best to achieve the best interview. Theres a balance between not showing disrespect and not accepting dictates. But when the interview is about headscarves, thats a different story.
This video can not be played
How Mahsa Amini became a symbol of defiance in Iran