I mean, they are an enemy. They just attacked civilians. They didnt declare war. And it sounds like theyre in territory you are internationally recognised to own.
Im not saying napalm is the best choice, i historically look down in fire + civilians. But given the circumstances, im not saying it was the worst choice either. Mostly depends on proportionality of response. If they kidnapped some women, then you decided to bomb every single hospital, kill all surgeons, leave 60% of their population starving, literally go full pirate and just start hijacking and sinking humaitarian aid ships, drop white phosphorous on the civilians, literally defend one of your soldiers raping a childs corpse, and shoot the young in crippling areas but not lethal so the adults come out to try and rescue them and you can shoot the adults? That would be unproportional.