They chose the winning side. They were viewed as a heretical sect by Muslims, and they didn’t want to be on the losing side as a small community, I suppose, and chose to join Israel. This spared them from the problems Muslims and Christians suffered from for the most part, but not completely.