All 4 of these movies, Star Wars, Planet of the Apes, Avatar, and The Matrix were about rebellions.
In the Star Wars movies, the rebellion tried to fight back against the evil forces that were controlling the galaxy.

In Planet of the Apes, the apes originally fought back against the human race who had enslaved them, and eventually the humans had to fight back against the apes who now ran their world.

Avatar was about an alien species rebelling against the humans who came to essentially destroy their planet.

The Matrix trilogy was about the human rebellion fighting back against the machines that ruled the humans and imprisoned them inside a fake world.

All of these movies were about rebellion, and in all of them (except Planet of the Apes) the “good” side overcame the evil. XO is foreshadowing a rebellion about to take place for him and his people, fighting against those who are enslaving them.