Israel has engaged in ethnic cleansing for decades. Sometimes it's the IDF, sometimes it's settlers.
This is the cause of the conflict. Violence by Hamas and others--as horrific as it is, like on Oct 7th--is a consequence, a symptom. Ethnic cleansing, from 1948 until now, is the cause.