Tell them apart
The flags of Egypt and Syria are both pan-Arab horizontal tricolours with a white middle band over black, so they’re easy to mix up at a glance. This is what gives each one away:
Drill Egypt, Syria, Iraq and Yemen: each flag once, in random order. Place it on the map, then name it.