When there is high humidity in the spring and summer, thunderstorm can cause heavy rainfall.
A moisture laden air in rises at a much faster rate in the atmosphere in hot weather. The rise in air is accompanied by development of thunderstorms and hence rainfall.