Russia might have done it in order of causing pressure in Europe and to blame Ukraine.
They blew up the dam and also blamed the Ukrainians. They're also apparently rigging a NPP they control to blow up and are already trying to put the blame on Ukrainians as well.
It's a tendency, but we went a bit off-topic here.