The tradition of clinking glasses during a toast likely evolved from a combination of factors, including the belief in warding off evil spirits, ensuring trust and safety by mixing drinks, and completing the drinking experience by engaging all five senses.
Here’s a more detailed explanation:
In the Middle Ages, when poisoning was a real concern, clinking glasses were used to mix the contents of both cups, ensuring that no one had tampered with the drink.