The fighting started over a nitrate taxation dispute between Chile and Bolivia, with Peru drawn in due to its political treaties with the latter.