Rotation Data from Normals

I’ve tried, but my dog does not keep the direction.