The useful answer starts with timing and pathway
A roof opening is only the entry point. Deck seams, underlay, framing and insulation can carry water sideways before it reaches the finish.
Best first comparison
Document when the symptom begins, what condition preceded it and where the first visible or measurable change occurs.
Before deciding on a repair
Compare at least one credible alternative cause and choose a check that can separate the two without creating new damage.