Maybe a communist Britain (a revolution in the early 1920s or so) is trying to enforce communism in the former empire, and the US invades Canada to preserve democracy there. Thus an Anglo-American War results.
The other option is somehow having the US join the Central Powers of World War I. Which I'm not sure how that could happen, since it seems like the way US politics works the US would either stay neutral or join the Entente.