Many factors contribute to flooding, but a warming atmosphere caused by climate change makes extreme rainfall more likely.