Two reasons why the Espionage and Sedition Acts were passed were 1 because some people would talk bad about the armed forces and other stuff like that so to prevent that they passed a more strict Sedition Act. With the more strict Sedition Act if someone said something that may interfere with the success of the armed forces, obstruct recruiting to the Army, or incite disloyalty became a punishable offense. The Espionage Act was passed for very similar things but the Espionage Act was passed so the president didn't get criticism.
One argument against restricting free speech during wartime was that people should give up some rights but not all during the war time. The people didn't want to give up their rights just because it was wartime because