The decision made by the two countries risks spreading among other Western countries that are growing more wary of supporting Ukraine.