I believe that there are many reasons for THC. The resin itself I believe is for water retension to protect the developing seeds from drying out in hot dry conditions. The THC in it however, I think has been bred to be more abundent by humans. It probabaly was much weaker in the past. Much like food crops that are and have been bred to produce bigger, tastier, more abundent fuits and vegies.