What is the meaning of Curveball?

A forespin pitch thrown by rotating the index and middle fingers down and resulting in motion down "curve"

An unexpected turn of events initiated by an opponent or chance; an exception or outlier.

To throw a curveball.

Source: wiktionary.org