Whether the library has unique permission? Whether the user has read permission for the library or the site collection?
Per my test, a user with read permission for the site collection can create alerts in the library.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
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.