Ah interesting. So you guys don't think the inside gap came apart from the plywood? The texture on both sides looks like it was once laminated against the core. If it did break feee, it left a huge void.
But if this is by design it's certainly not as scary as it looks.
When many boats are built there are 4 major components, the hull, the deck, the headliner, and the pan. The hull is built and fittings are installed, then the pan is put in place. This is where all the interior fittings are, the settee, the cabin sole, the galley and head fixtures. Then any woodwork, like bulkheads are installed. Finally the headliner and the deck are set on top. There is almost always a gap between the top of the headliner and the bottom of the deck, the unseen surfaces are raw fiberglass and look ugly. There may be gobs of thickened resin in place between the deck and the headliner to hold every thing together. There may also be gobs of thickened resin between the interior pan and the hull, again to hold everything together. The hull, deck, headliner, and pan are all joined at some point, along the hull deck joint. There are probably variations on this process depending on the builder, however, they are all basically the same.
On your boat, the gap between the interior pan and the deck is to be expected. The separation between the plywood and the exterior skin is not by design the two pieces should be epoxied together. If the repair is not done, the boat probably won't sink. This is a peace of mind repair that will use $3 of a good quality thickened epoxy.