Threatening a nuclear attack is an act of war too.
As is shooting missiles into other country’s waters or over their territory.