Logically, what they did doesn't make sense, and at some level this is diversity-casting. But this is done because the director is French and therefore has some knowledge of Algeria, which would be relevant for Dune.
It's clearly a call-out to the Tuareg of the Sahara, who are exactly like...