If a combatant is hors de combat, no longer able to fight, then they are no longer a valid military objective.
If the IDF shuttles soldiers ready to fight to the front using an ambulance, it’s a war crime. Shuttling injured soldiers from the front to the back is not a war crime.
Hezbollah and also Palestinian militant groups have been observed to use ambulances to do the former.
So it’s also a war crime when Israel treat IDF soldiers with your logic
Treating wounded is never a war crime.
If a combatant is hors de combat, no longer able to fight, then they are no longer a valid military objective.
If the IDF shuttles soldiers ready to fight to the front using an ambulance, it’s a war crime. Shuttling injured soldiers from the front to the back is not a war crime.
Hezbollah and also Palestinian militant groups have been observed to use ambulances to do the former.