States and other parties to an armed conflict have an obligation to "respect and ensure respect for" IHL "in all circumstances." (Art. 1 common to the Geneva Conventions). They must use their influence to prevent and end violations of IHL, and refrain from encouraging violations by other parties.
Respect for IHL – Overview
International Review of the Red Cross, No. 895/896: Generating respect for the law