Wars start by invasion. Invader invades, invader occupies, host nation repels invader.
War as a continuation of politics by other (violent) means is the act of two belligerent groups trying to impose their will on the other.
Ex: Russia imposing their will through occupation. Ukraine imposing their will through repelling an invading/occupying force.