When Azerbaijan did this in Nagorno-Karabakh, it was sure a lot easier for the international community to call it ethnic cleansing
https://www.theguardian.com/world/2024/nov/06/palestinians-will-not-be-allowed-to-return-to-homes-in-northern-gaza-says-idf