As Israel relentlessly bombed Lebanon, the country’s military largely stayed out of the war.