Behind the Eight Ball is a general term that basically means you are stuck in any difficult position, challenging or almost impossible to get out of without violating some kind of rule.

Its derivation is from a billiards term, refering to situations when the cue ball is stuck right next to the pocket with the eight ball (which is a foul stroke if hit) covering all possible routes to the rest of the table.