Leaders like Trump and Putin have their own reasons for using martial rhetoric.