Green’s Dictionary of Slang

sucks (to you)! excl.

also sucks for you! sucks yourself!
[? euph. for fuck! excl.]

[1910s+] (usu. teen) a disdainful, dismissive excl.