Jamaica's attorney general has sparked criticism after saying it was "disrespectful" to Jamaican law for the US embassy to fly a rainbow flag following the Orlando shooting.
In response, the US embassy in the capital Kingston asked Marlene Malahoo Forte to explain her legal reasoning.
Forty-nine people died when a gunman opened fire in a gay club in Florida.
Jamaica has laws criminalising gay sex and rights groups have warned LGBT face frequent discrimination.
In a post that now appears to have been deleted, Ms Malahoo Forte said: "I strongly condemn #OrlandoNightClubShooting but find it disrespectful of Jamaica's laws to have #RainbowFlag flown here. #MyPersonalView."
The US embassy replied: "We're listening. Explain the legal reasoning? It was an attack of terror !!and!! hate, targeting the LGBT community".
She faced a backlash on social media where she was accused of ignorance and bigotry.
Others though defended her right to speak out. "This is her country, not America," said one comment on Facebook.