That wasn’t an ugly tree. That was an ugly Ent and he vented his rage on her like she was Isengard.
Must’ve decided that she was an orc.