When the betting exceeds one of the playes total chip stack a side pot is developed between the 2 players that still have chips to play with. The player with the smaller amount is only playing for the main pot while the other players are playing for both . There can be more than one side pot if it enough players are in the hand.