Allying with other countries is not illegal, therefore it cannot be a cause of a war.
russia invading a sovereign country is illegal, therefore it was the cause of the war.
Allying with other countries is not illegal, therefore it cannot be a cause of a war.
russia invading a sovereign country is illegal, therefore it was the cause of the war.