A lot of it feels like an ode to the original western translation which exaggerated a lot of his stereotypes in the dialogue.Ultimately, the way Barret is portrayed was a conscious creative decision. Could he have had the same arc he has without so thoroughly playing into these tropes? I'd assume so. So it's worth calling into question why he was directed like this.
Barret is a conflicting character for me to fully wrap around. There are moments I truly love with him but there's also parts, especially in the beginning that play far too much in the loud and angry black man trope.