My understanding was that the burnt bodies were from the IDF shelling of buildings with militants and hostages in them. Did you have additional evidence I didn’t catch?
Those articles partly talk about the burn victims. The Snopes article is primarily about beheaded infants though.
https://www.snopes.com/news/2023/10/12/40-israeli-babies-beheaded-by-hamas/
I don’t know if you’re referring to Gaza or Israel on October 7th, but here’s a press conference about the burned bodies.