Politicians tend to fear their militaries, which often crave foreign enemies and will overthrow civilian governments that do not share their goals.
Mature democracies may not fight one another, but immature ones do- and are even more prone to war than authoritarian regimes.