Scaring people, distraction, etc.
In the grand scheme, repairing the cables and supporting Ukraine will cost less and hurt Russia more than escalating tentions in the Baltic sea.