Maybe they thought to launch a crippling first strike at the human kingdoms before they become too powerful and brutally murder every man, woman and child of elven descent.
Or maybe elves who want to genocide humanity decided that there was a good chance of the deal being accepted and wanted to make sure that couldn't happen by starting a war.