A casus belli is the official reason that a country gives to start a war
A casus belli is an act or event that provokes a war or that a government uses to justify a war. The term comes from Latin and means "occasion for war." When a state prepares for military action, it almost always presents a casus belli to show that its cause is moral and necessary.
Governments rarely admit that they start wars purely for land, resources, or power. Instead, they give an official reason to achieve two main goals:
1. To persuade their own citizens to pay the taxes and supply the soldiers that the war requires.
2. To convince foreign governments that the attack is lawful, so that those countries will support the war or stay neutral rather than help the enemy.
Because of this, historians distinguish the casus belli from the deeper causes of a conflict. Sometimes the official reason is a real grievance, and sometimes it is only a pretext—a public excuse that hides the government's true motives.
For example, in June 1914, assassins equipped and trained with the involvement of Serbian officials killed Archduke Franz Ferdinand of Austria, the heir to the Austro-Hungarian throne. Austria-Hungary used this assassination as its casus belli to declare war on Serbia one month later. However, the deeper causes of the war included years of territorial rivalry in the Balkans and a system of European military alliances. The assassination was the immediate trigger and the legal justification for the invasion, while the underlying political tensions made a wider war possible.
( Note: When the event triggers a military alliance specifically, so that allies must defend the country that was attacked, diplomats call it a casus foederis, or "case for the alliance." )
Fact-checked against Casus belli on Wikipedia
Part of the War syllabus: The Ethics and Law of War
See it on the timeline of The Ethics and Law of War