Put bluntly, Ukraine is a strategic buffer between Russia and the West, keeping their nukes and armed forces at arm's length. Ukraine didn't like this role, it wanted out, but it underestimated how much this would tip the balance. They moved too fast and against a now-pissed former and powerful ally. Hence the result.
That is, there is a pretty good reason for Russia to do all this even if their methods are painfully crude.