Can’t disable notifications

In several issues, notifications have been automatically enabled and I can’t figure out how to turn them off. The notifications switch is both on and disabled (grayed out):

Screenshot from 2021-05-10 11-12-31 crop

Why does that happen? How do I unsubscribe?