Why did the Cockermouth floods happen?

Floods are caused by high rainfall.