Historically, bedouin have been seen as a distinct ethnic/cultural group, separate from the surrounding ones. Basically, they’re similar to the Roma of Europe and my understanding is that they’re treated and viewed by local communities very similarly as to what the Roma go/have gone through.
Their non-profit status had nothing to do with the legality of their training data acquisition methods. Some of it was still legal and some of it was still illegal (torrenting a bunch of books off a piracy site).