Incidentally, the Geneva Conventions do provide some protections for unlawful combatants, just not the full set of protections guaranteed to lawful combatants. You can't just shoot them out of hand. However, you can put them on trial, sentence them to death, and execute them. The Geneva Conventions don't really spell out due process requirements for such situations, so the distinction between "shot out of hand" and "executed after trial" could potentially be trivial.
>So when a non-state organization takes action against a state, this makes it legal for the state to treat them however they want.
This is not true. If the non-state organization abides by the Geneva Conventions, and if the state they are fighting against is a signatory, then the state must treat the non-state actors as lawful combatants (depending on its scope and scale, a civil war could be an exception because the rebels could be considered traitors and tried as such). Even if the non-state actors don't play by the rules, they still get some protections, as I explain in my previous paragraph. The rules are actually quite easy to comply with, so smaller powers and non-state organizations are not "excluded" by an inability to follow the rules, only by a conscious choice to break them. For example, something as simple as color-coded armbands will satisfy the requirement to wear identifying insignia.
Anyway, my point was that it was all rules made by Western powers to govern combat between great powers, and they have an obvious role of excluding smaller powers and non-state organizations from playing with the big boys. So when a non-state organization takes action against a state, this makes it legal for the state to treat them however they want.