Green’s Dictionary of Slang

behind the eight ball phr.

also back of the fifteen-ball, up against the eight ball
[pool imagery]

[1930s+] (orig. US) in trouble, in a difficult situation.