I am going to guess that in the beginning each had a 1 in 3 change of being pardoned. If prisoner A decides to take a new gamble on switching cells, then he lowers his probability to 1 in 6 (1/3 * 1/2), as he now has to win two gambles. He is better off staying in his cell.