Palestinian protesters whitewashed a rainbow flag of gay rights that was painted by a Palestinian artist on six slabs of the West Bank security barrier.

The artist, Khaled Jarrar, said Tuesday his art was meant as a reminder that Palestinians live under Israeli control, at a time when gay rights are in the news after the US allowed same-sex weddings.

But protesters perceived the painting as support for homosexuality, a taboo subject in Palestinian society where gays are not tolerated.

Get The Times of Israel's Daily Edition by email and never miss our top stories Free Sign Up

The artwork ignited angry responses among Palestinians and activists whitewashed the flag on Monday night, just a few hours after it was painted on the best known section of Israel’s graffiti-covered barrier, next to a portrait of Yasser Arafat and other Palestinian leaders.

Jarrar, 39, who has exhibited in Europe and the United States, told The Associated Press that the destruction “reflects the absence of tolerance, and freedoms in the Palestinian society.”

“People don’t accept different thinking in our society,” he said, adding he drew the rainbow flag on the barrier to put a spotlight on Palestinian issues.

Mohammed, who only gave his first name for fear of repercussions, says he helped whitewash the flag because “we cannot promote gay rights.”

Mohammed al-Amleh, a 46-year-old lawyer, also approved of the action, saying that “it would be shameful to have the flag of gays in our refugee camp.”

Gay Palestinians tend to be secretive about their social lives and some have crossed into Israel to live safely.

A 1951 Jordanian law banning homosexual acts remains in effect in the West Bank, as does a ban in Gaza passed by British authorities in 1936.

Israel, meanwhile, has emerged as one of the world’s most gay-friendly travel destinations recently, in sharp contrast to the rest of the Middle East where gay culture is not tolerated and gays are persecuted and even killed.

Earlier this month, over 100,000 people attended a gay pride parade in Tel Aviv.

In Israel, gays serve openly in Israel’s military and parliament, and many popular artists and entertainers are gay.

But there is no gay marriage in Israel officially, primarily because there is no civil marriage of any kind — all Jewish weddings must be conducted through the Jewish rabbinate, which considers homosexuality a sin and a violation of Jewish law. But the state recognizes same-sex couples who marry abroad.

Across the rest of the Mideast, however, gay and lesbian relationships are mostly taboo. The pervasiveness of religion in everyday life, along with strict cultural norms, plays a major factor in that.

Same-sex relations are punishable by death in Iran, Mauritania, Saudi Arabia, Sudan and Yemen.

Copyright 2015 The Associated Press.