If an air parcel is warmer than the surrounding air it will rise. As an air parcelrises, energy transfers from the warm air parcel to the cold surrounding air until their temperatures become equal. When an air parcel starts with a higher temperature, it will rise higher and lose more energy, causing more rainfall.