He saw an opportunity to injure Ichigo. Saving Uryu and Orihime was just a consequence of him taking that opportunity to strike Ichigo.