A civilian is just a soldier who hasn’t put on a uniform in this scenario, and a soldier is just a civilian who has put on a uniform. You’re making a meaningless distinction in this context. There isn’t some sort of magic status that changes here - the same Japanese civilians were working at shipyards and ordinance factories to build weapons to kill American soldiers - you think we shouldn’t bomb those factories because we would kill Japanese civilians building weapons to kill American soldiers and that’s ok because the Americans were wearing a costume and we call them “military personnel”?
Nuts!