pitch a curve
pitch a curve or a curve ball {v. phr.}
To catch someone unawares; confront someone with an unexpected event or act.
My professor pitched me a curve ball when he unexpectedly confronted me with a complicated mathematical equation that was way over my head.
Categories:
Source: A Dictionary of American Idioms