hence "illegal". A legal war have a war declaration and an explicit casus Belli (regime change, "removing terrorist", "protecting the civilians" etc)