A gag order prevents the litigants and their attorney from talking about their settlement. It prevents publicity about your particular case and also prevents other attorneys from learning the value of your injuries.
This is used to prevent lawyers in the community from learning what a particular case is worth for that particular insurance company.