throw someone a curveball
US /θroʊ ˈsʌm.wʌn ə ˈkɜrv.bɔl/
UK /θroʊ ˈsʌm.wʌn ə ˈkɜrv.bɔl/

1.
to present someone with an unexpected difficulty or challenge
:
•
The boss really threw us a curveball with that last-minute change to the project.
•
Life can sometimes throw you a curveball when you least expect it.