They’re hoping that by pleasing an arab, and adopting their customs, they won’t be captured as slaves; it’s the Stockholm effect:
“Stockholm syndrome is a psychological response “... in which the hostage shows signs of loyalty to the hostage-taker, regardless of the danger (or at least risk) in which they have been placed.”