What caused the devastating flooding in Pakistan?

More than 1,100 people have died in the worst flooding event in the history of Pakistan, but what caused the extreme amount of rain? Here's an explanation.