That looks like delamination. It is were the glue between the siding and inside foam board losses adhesion. It can be quiet costly. Sometimes caused by water damage, sometimes long exposure to direct sunlight, and sometimes just poor adhesive.
Likely water damaged. The roof corners are the first to leak on this style RV regardless of manufacturer.
Google delamination
Walk away unless your willing to gut the inside to fix rot and mold issues.


