How to align object with given point

How can I rotate the tree in the direction of the Debug red line??

Right now I’m getting a random point on a Unit Sphere and multiplying it with my sphere radius.

I’ve tried all possible solutions I know to align the tree with the axis of that debug line but nothing worked.

         sphericalPoint = randomPointOnUnitSphere(worldRadius * 1.5);
            return, this.sphericalWorld.getPosition());

first I get a random point on the sphere
and perform ray cast towards the Actual sphere[as there could be non-spawning areas].

   spawnedObject.setPosition(position);//RaycastHit.point is position;

You can rotateLocal after the tree is spawned and lookedAt. Probaly 90 degrees on X or Z axis.

Thank you!