Here are detailed information about this error: 550 5.7.64 TenantAttribution; Relay Access Denied SMTP) error when users send mail externally in Office 365
I would suggest you try to rerun HCW to update the existing connectors, then try to sent emails again.
If there still exist issue after rerun HCW, I would confirm with you whether there exist other customized connectors in your organization. If there are, I would suggest you try to delete/disable them, then recreate connector for hybrid, make sure email could sent successfully, then try to reenable those customized connectors.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.