If a tree branch shakes when there is no wind, it’s a Sudowoodo, not a tree. It hides from the rain.
It disguises itself as a tree to avoid attack. It hates water, so it will disappear if it starts raining.