Why were Niesei kept in internment camps?

During World War II, Japanese Americans, also referred to as Nisei, were kept in internment camps by the United States government due to fears of espionage and sabotage following the attack on Pearl Harbor by Japan. This racial discrimination and violation of civil liberties were justified under Executive Order 9066, which authorized the forced relocation and incarceration of Japanese Americans living on the West Coast. The Nisei were seen as potential threats to national security solely based on their Japanese ancestry, despite many of them being American citizens.