Player A should still get his money because they already showed preflop. The dealer is the one that moves tthe chips too. the player should not be touching his own chips like that.