Why some deals cannot be won
A deal is a fixed order of 52 cards. Most orders leave you enough room to untangle them, but some lock themselves up. The simplest example in Klondike: to free a card you need another card, and that other card lies face down underneath the first one. You can't reach it without moving the card above it, and you can't move that card anywhere until you reach the one below. Nothing you do earlier in the game changes this, because the order was set when the cards were shuffled.
Real dead ends are usually less obvious than that and involve three or four cards blocking each other in a loop. From the player's side they feel the same: you go through the stock again and again, and nothing new opens up.