How do tree gnarls develop?
If I understand what you're talking about by "gnarl", they are usually caused by a bacterium like Agrobacterium tumescens infecting and creating a gall. 

Update: Forgot, also in some cases caused by insects.