Namely, as a punishment. For the transgressions of certain members of their respective species.
Punishment??
Well, this was the man who brought us the Jedi wisdom that ‘only a Sith deals in absolutes.’
But what those Wookiees did was bad and they should feel bad, and also maybe not be Jedi. Even if Chewbacca is Gillian Anderson’s boyfriend.