The bomb was probably planted by the Putin regime. They are the ones gaining the most by this terror act.
To what end? It's true that Putin seems to be a pretty cynical operator, and he's certainly not encumbered by transparency requirements at home, but what does he gain? I'd need to see good evidence of this.