US airstrikes against Syria — a violation of international law

How can punitive action be taken against a country before the offense is established?