Consider what was going on in Afghanistan at the time. Pakistan was our base for supplying the Mujahadeen against the Soviets. I agree that in retrospect it looks bad, but at the time India bombing Pakistan would have really been to the Soviet’s benefit since it probably would have touched off another Indo-Pakistani War leaving the Soviets a freer hand in Afghanistan.