If I'm reading an article about the pandemic, I probably don't want to see ads selling me face masks. If I'm reading an article about the inauguration, I probably don't want ads selling me inauguration t-shirts.
I am however more likely to click on ads selling me home renovation stuff because they know I've recently bought something in Home Depot. Even though I'm not currently on a home renovation website.