Some issues are so challenging that they can be eradicated only when everyone works together. For Eg, Disease eradication by inoculating or vaccinating their populations.
Countries may see the need to cooperate but how to cooperate, share costs, save from being cheated etc. This is where International Organizations help provide mechanisms, rule and bureaucracy.