The conflict in the Middle East is driving oil prices up in a midterm year when Americans are already focused on high energy bills.