Heat rash is caused by sweat gland blockage due to heat and humidity. On the other hand, allergy rashes are immune responses to allergens and can vary in appearance and causes.