At some point between the ninth and 13th centuries, black cats were linked to witches in medieval Europe.
Things really went south when the church got involved.
When the bubonic plague devastated Europe in the Middle Ages, and cats ate the infected rats, societies believed that the plague originated with the witches and specifically black cats.