Green wood is full of water, all stored in long tubes running under
the bark.
What you are hearing is the water becoming steam and expanding, then
shooting out of the tubes making a really odd sound.
It is not actually the tree screaming in pain.
It is simply expanding moisture escaping threw a tube.
Like the whistle on a steam locomotive.