in additional to what pusga said i might add that trees themselfs could be dangerous to other trees as some use chemical attacks to kill any other competitor for water and light, and lets not forget that tree's seeds(and trees themselfs) are the main nutritions for alot of animals and insects which can cause alot of trees to die or atleast not be able to reproduce, and so only the trees that adapted by either becoming toxic or producing more seeds survived.