For the second time this year, Israeli Prime Minister Benjamin Netanyahu has failed to form a government, opening the door for his main rival Benny Gantz to do so.