Can't update apps because they were purchased with a different apple-id
I just bought a MacBook Air, and after using it for a dew days it popped up that I needed to update some apps in App Store. The apps that need updates are apps that comes with the Mac, such as "Numbers" and "Keynote". When I go to the App Store and click the update button, a message pops up saying I can't update the apps because the apps were purchased or refunded with another apple-id. I only have this apple-id, and I didn't even download these apps, so what can I do to fix this?
MacBook Air 13″, macOS 10.15