It been stated that being in battles can make you stronger and that is consistent in the naruto verse not to mention when they fought kabuto Sasuke basically just got his EMS. After that fight Sasuke honed his EMS to the point where he was able to fight against Juubito and stab SM Madara