Why did the US Army begin domestic spy operations against young Americans in the USA?

Why did the US Army begin domestic spy operations against young Americans in the USA? Why did the CIA do the same? What were they worried about? https://origins.osu.edu/article/americas-big-brother-century-us-domestic-surveillance