Why were they established?

The no-fly zones, which Baghdad does not recognize, were imposed after the war to protect Kurdish communities in the north and Shiite Muslims in the south from possible attacks by Iraqi government forces.