Witch hunts were something extremely special.
Did you know that during the middle ages witchcraft was actually denied by the Roman Catholic Church? As in they denied witches existed despite biblical mentions. In some parts of Eastern Europe it was even a crime to accuse a woman of Witchcraft.
So what happened? In the same way that the internet made knowledge extremely easy to obtain, it also made misinformation able to spread like never before. The printing press did that. There was exactly one book on Witchcraft published towards the end of the Middle Ages that got widespread circulation due to the printing press. Then Witch burning and trials became common.
Its nuts to think that.
This is the phrase/term 'medieval witch hunt' is inaccurate. Witch hunts and trials didn't start until the early modern period and didn't reach their peak until the 17th century.
Of course you could make the argument that despite it being 'early modern', most people's mindsets were still positively medieval. There was a hell of a lot of superstition and all manner of weird crap in daily life and even in the legal system. For example, it was believed that the corpse of a murder victim could point out its murderer if the murderer interacted with the body in some way. Another thing is the belief in 'life force' (I forgot the term they used) for people who were murdered or executed. The reason is that since those people's deaths were not natural, their bodies still had surplus 'life energy' that could be used to heal the sick or dying. Obviously that didn't work, but it still tells you a lot about their mentality.
Also in medicine and medical thinking, while there was steady experimenting happening in higher society, for the average person who rarely saw a 'real' doctor, many people were still thinking in terms of the 4 humours as late as the very early 19th century, with a lot of medical thinking being ancient, like thinking that some pastes and medicines made from worms would help to heal scars since worm bodies look a little like scars themselves.