If the "rootpw", "targetpw", or "runaspw" flags are defined and not disabled, by default the operating system will prompt the invoking user for the "root" user password.
Check
Verify RHEL 10 sudoers security policy is configured to use the invoking user's password for privilege escalation with the following command: