Hello Ivan
I carried out multiple malwarebytes scans to see if there were any threats and none were detected so I just disabled the notifications. But just to clarify if the pop ups were a scam or not, every time I clicked on it, it made me do a "scan" and then proceeded to ask me to buy a subscription of the McAfee security thing. I checked with one of my computer friends they said it was a scam.
< SNIP >
I used Bing Search to ask Copilot whether Edge nonfictions can contain animation and it indicated that they can.
So, it's possible that either the notification itself contained animation or something that you clicked within the notification opened a second screen containing an animation that appeared to perform a scan, while in truth nothing truly happened other than an animated window that contained a false display at the end indicating malware is present to try and sell you McAfee.
Remember that Windows desktop is really just a big GUI that performs WYSIWYG (What you see is what you get) display that malicious actors have learned they can use against the typical person who doesn't realize that any of these elements painted on the screen can actually be faked.
That's the ability that scammers and others trying to get you to click on or accept things as something they're not continually abuse, so take anything that pops up on screen that you didn't personally click on or request with a grain of salt, especially while any web browser is open and/or sitting on a screen with advertisements, through which such popups can also be launched.
If an unrequested popup wants you to 'Allow', always look for the alternate, often greyed out option to decline, such as 'not now' or 'maybe later', or anything else that might reject the display of future notifications.
Rob