This is an expected behavior. Here are two ways which may be useful to you:
Way 1: Create GAL sync between two forests, then add X500 addresses for those mailboxes, in this way, email could find X500 address. But, in this way, users in two forests will could see each other.
Way 2: Tell all users to delete the email address and enter it manually when replying to the email.
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.