As for the Ewoks;
EC Henry made a pretty good video explaining how they work within the film, and he didn’t even mention the pretty obvious themes that Lucas had been playing with since the early drafts of SW.A Defense of Ewoks
https://www.youtube.com/watch?v=prNOwClygdI&list=PLYn2a0e2FVIKni_wHXR5CJYBnnnYH7mIB&index=22&t - from the EC Henry YouTube channel (3:30 mins long).
Here’s a fun article:
Ewoks Are the Most Tactically Advanced Fighting Force in Star Wars
https://www.wired.com/story/ewoks-star-wars-tactics-endor-moon/