There's no contradiction of principle, a US citizen can fight against the US in a war without the US having declared war on that individual.
It's happened, some number of US citizens fought for Germany and Japan in World War 2 (and paranoia about it lead to the Japanese internment camps).