Two factors can cause a leaking roof: rain and piping.
Rain, especially during a heavy downpour, will find its way inside through any gaps. The bigger the hole, the worse the damage will be.
Multiple storey houses and apartment buildings full of pipework also pose a natural risk as wear and tear can lead to leakage.