Why have there been large coalitions of countries throughout history that come together to draft agreements about the boundaries of war and what constitutes a war crime (like the Geneva Convention), b

Why can't the U.N. just make war illegal?