likely you inadvertently gave some website or some app permission to send you notification You can turn off some or all notifications.
https://pureinfotech.com/disable-notifications-windows-11/