That’s not what they’re doing, they’re forcing Russia to fight harder on another front to reduce forces in Ukraine and hopefully weaken their defense enough for a major breakthrough.
If that means Russia abandons Syria then Ukraine will likely get a huge influx of Syrian mercs or Russia redistributes assets and losses ground in Ukraine, either way that’s a win.