its truly a military relationship between two countries.
India can't ditch those who helped them in the past and, potentially, will help them in the future, i.e. Israel, Russia, etc. Even if India is in crisis during the war - it is expected that these countries will help india.
In a similar vein, Pakistan would always back China, no matter what actions China takes with its neighbor.
People here will link with religious and blah blah, but as said, it does not matter—Israel - Palestine conflict or Israel fighting with any other nations.
And at the same time, India will continue to support Palestine with medical and other support. Even support the organizations at the UN, etc.