Help with rotating turret

Hello! I’m still very new to Unity, and am currently attempting to make a turret object in my 3D Unity game, whose head will look in the direction of the player once the player gets close enough to the turret. However, whenever the player gets close enough to the turret, the turret’s head will in fact rotate, however it will end up facing the wrong direction. The turret does rotate every time the player gets close enough, just not in the right direction. Below is the code attached to the turret object:

using System;
using System.Collections;
using System.Collections.Generic;
using Unity.VisualScripting;
using UnityEngine;

public class Turret_script : MonoBehaviour
{
    public Transform Head;
    public Transform yes;
    private  Quaternion originalRot;
    // Start is called before the first frame update
    void Start()
    {

    }

    // Update is called once per frame
    void Update()
    {
      
    }

    public void StartTurret (GameObject objToLock) {
        print("yes");
        Vector3 direction = (objToLock.transform.position - Head.transform.position).normalized;
        Quaternion rotation = Quaternion.LookRotation(direction);
        Head.rotation = rotation;
    }
  

  
  
}

StartTurret is called from another game object (Turret_Radius), which shares the same parent as the turret head. I feel like this is something that’s really easy to fix, but I’m absolutely stumped.

Turret aiming/rotating: