Answer:
because they believed imperialism violated the credo of republicanism, especially the need for “consent of the governed.”
or in better words
because they believed that imperialism violated the republican program, in particular the need for “consent of the governed”.