but how and why did Google generate those lists?
Mary Branscombe

They didn’t generate them: they were provided by the advertisers to try and maximise revenue from their adverts, perhaps scraped from a website with the data. This doesn’t absolve Google of blame, and doesn’t mean the system is not problematic, and doesn’t mean machine learning would not do that, were it used. But using war stories without careful consideration can undermine credibility — take Microsoft’s Tay, whose abuse was not caused by advanced AI or NLP, but by more simple commands to mimic and memorise what it was told exactly.