This is an article on the Times of Israel on the subject:
https://www.timesofisrael.com/idf-presents-evidence-misfired...
This article exposes a recorded telephone conversation (which could easily be faked) that this was "friendly fire." The lack of a crater at the impact site, and minimal damage to surrounding buildings, rules out the standard ordinance used by the IDF (although something custom could have been used in this case in an elaborate attempt to shift/inflict blame, but unlikely by reason of Occam's Razor).
This article on Al Jazeera reports the assessment of French intelligence that the IDF was not responsible:
https://www.aljazeera.com/news/2023/10/21/french-intel-says-...
The above article casts some doubt on the Israeli assertions (and French assessment) and reports on calls by the U.N. for a full investigation.
The well-known video of the explosion has a high-pitched whine which would not be heard in the standard munitions used by the IDF, which do not have propulsion as I understand.
https://www.aljazeera.com/program/newsfeed/2023/10/18/gaza-h...
This is either an accidental weapons malfunction, or a false-flag attempt, but the later seems unlikely as the Israeli government response seemed somewhat muted if it were planned by them.