Causes of Arms Races and Proxy Wars