Hi Tex,
Yeah, it looks like something went pretty wrong dimensioning and installing all that circuit.
As someone said already, wire size vs fuse size and maybe vs something else like load (i.e. dc/dc charger) size.
Also minimal clearance and cooling requirements must be taken in account and are not always easy to meet in a camper.
Possibly, yes, you did have an electric fault in your charger, but the whole circuit should have been able to protect itself from catastrophic failure. Also I am not really a fan of combustibile (i.e. wood) base panels, especially if there are cooling fans involved nearby.
Basically that is why qualified electricians exist and looks like you learnt it the hard way. U tube is not a reliable solution, while it may work for a number of iterations. The problem lays in the few ones where it doesn't. Car batteries and alternators generate power in the kW range and that is nothing to take lightly, especially in a confined environment stuffed with other highly combustibile stuff.
Good that nobody got hurt (as I understand and hope).
That said, maybe Renogy would be interested to see those pictures, too, and may have something to say or to help you.