Whatever made him use pool fencing as his random example is probably also why the ad showed up. Maybe it's the season for that stuff, he saw other ads earlier, or other friends talked about it. He may not consciously remember that, but it could make him more likely to think of it again later. In other words he talked about it because of the ads, not the other way around.