If you want to run with this argument, they have been at war since 1948, when all of Israel's neighbors including Lebanon invaded Israel following the UN vote to grant Israel statehood and Israel's declaration of independence.
There has been a UN-brokered ceasefire since the later 2006 war. Minor issues have occurred since then, but October 8 was the first major escalation between the two in almost twenty years.