The conflict is draining supplies Ukraine needs for its defense, while surging oil prices are boosting the Russian economy.