The Israeli Prime Minister and Defense Minister have openly stated that the destruction of Rafah was intended as collective punishment and ethnic cleansing of civilians.
https://www.timesofisrael.com/liveblog_entry/pm-said-to-tell...
https://www.timesofisrael.com/liveblog_entry/warning-of-kidn...