The Alien and Sedition Acts of 1798 had criminalized excessive criticism of government. Jefferson feared it would be used in a partisan way. The Acts violated the Tenth Amendment by encroaching on a state prerogative.
https://mises.org/library/1-thomas-jefferson-and-principles-98