It was Japan, not Germany, that drew America into the war by attacking Pearl Harbor. The attack was made before any declaration of war was made by Japan, and while peace negotiations were going on in between the U.S. and Tokyo.
On the other hand, the internment was way too broad, and it wouldn't surprise me if racial discrimination wasn't one (unspoken) factor.