The electrons on clouds come mainly from solar winds, and this is likely the power supply that charges them with free electrons. Being the clouds formed in different instants, as well as cosmic irradiated emissions are not constant in time and intensity, but somewhat cahotic, there is no reason to the clouds keep the same potential. The rise of air mass seems to be actually the trigger that generates the discharges, since the Earth's charge is always electrically smaller than the clouds