It can be difficult to ride right after it starts raining because:

Pavement can be particularly slippery after it has just started to rain. Oil from vehicles will have not yet washed away from the surface of the road, forming a slippery mixture with the water.
DMV Writen Test