It completely depends on which two groups we are talking about.
Assuming that you are referring to the rise of the Yishuv (the proto-Israeli Jewish community) and the rise of Palestinians (the conversion of a generic Levantine Arab identity to a specific Palestinian Arab identity), both came out of the conflict for political power in the British Mandate for Palestine. Both groups were trying to establish a state that catered primarily to their interest and agreed with their moralities. The Palestinians were incapable of completely ethnically cleansing out the Yishuv because of their military weakness and the Yishuv made calculated decisions to not completely cleanse out the Palestinians. As a result, both groups still exist.