I've never liked using the word "electrolysis" to describe the type of corrosion you're describing. I hear it used a lot when what is really meant is "electrolytic corrosion". Electrolysis is simply the electrochemical process that might have caused the damage you see. When referring to a corroded item (usually aluminum) both terms are often used to mean the same thing. The terms do have one thing in common though, and that's they both require an externally applied electric current to drive the process. Since the camper was unplugged, and the battery was removed, you can probably rule that out.
What you are probably seeing is galvanic, or "dissimilar metals" corrosion. The screws and staples used in building your camper are not aluminum, and may be what is behind the disintegration of the aluminum siding. One other component is required though: moisture. Without the electrolyte (moisture), the corrosion will not take place. It could be as little as a humid environment causing some condensation, or as much as an active leak from a failed caulk seal. Either way, there is probably some moisture behind the skin that's worked its way in and has soaked the wood and insulation behind the skin.
It's pretty common on truck campers to see rot and corrosion in the wing area. I just had to replace mine about a year ago, and many other members have done the same. Lance will sell you or your dealer the materials needed to repair it. You can also source the materials and fabricate it all yourself. I've seen it done both ways on the forum with good results.
:):)
2001 Lance 1121 on a 2016 F450 ‘Scuse me while I whinge.
And for all you Scooby-Doo and Yosemite Sam types………..Let’s Go Brandon!!!