Interesting question. Here are my thoughts, but not a definitive answer.
Germans had been in America for many generations. In fact the Declaration of Independence was published in German at the time of its writing to make sure German speaking (reading) people were aware of what was happening in the country. The late 1800’s was the biggest migration of Germans. By the time of WWII the majority of German-Americans were fully Americanized. There were still some more new immigrants coming in the early 1900’s, but overall I don’t think the loyalty of German-Americans to America was questioned.
Also, President Roosevelt actually had spent time in Germany as a child and spoke German. I don’t know if that had any affect, but maybe he separated the German people from Hitler in his mind? That would be interesting to know.
The Japanese were newer immigrants, many still probably had accents, there was a lot of anti-Asian sentiment in the country. The Chinese Exclusion Act was in force when the Interment Camps were started. I know Japanese people are not Chinese, but of course many Americans just see all of “them” similarly. Possibly, many of the Japanese were not yet US citizens? Does anyone know?
Also, as mentioned above Pearl Harbor was on our land (although before Hawaii was a state) and racism most likely played a roll. America has a history of not trusting people who they deem different.
Plus, the Japanese were a smaller group and less integrated. If the government had locked up Germans, that would have been a huge number of people, and German families were mixed with English, Scottish, Polish, etc.
Many German-Americans fought against Germany in WWII and were integral in us winning. I wonder if there are stories of German Americans being very conflicted about fighting the war. There must have been some.