There can be many reasons for locating capitals away from established centres.
Canberra Australia was also created expressly to become a national capital because of competition between Melbourne and Sydney. Ottawa was selected as a compromise between Toronto and Montreal and because it was easier to defend from you lot than either of the other two.
Drats. I was hoping our suicide bombers and tunnelers would have any easier target.