In SharePoint 2019 On-Premises, the behavior you are experiencing regarding email notifications when sharing sites, lists/libraries, and list/library items can be attributed to the configuration of outgoing email settings.
When you share a site or a list/library, the email notifications are sent from your email address because the sharing action is typically initiated by you, and SharePoint uses your email for this purpose. However, when you share individual items within a list or library, the notifications are sent from the generic account specified in the SharePoint outgoing email settings. This is because item-level sharing may be configured to use the outbound SMTP service for notifications, which defaults to the generic email account set in the outgoing email configuration.
To change this behavior, you may need to review the outgoing email settings in SharePoint Central Administration and ensure that the appropriate settings are configured for item-level notifications, if such customization is supported in your environment.