I wouldn't exactly call that assassination unprovoked. That specific general had led the Quds Force in operations that caused the deaths of hundreds of US soldiers and the injuries of tens of thousands of other soldiers. Then there's the many, many other operations that the Quds Force have engaged in as part of Iran's proxy wars in the region. He definitely earned a spot on the shit list.
Was it a wise decision to target him? I don't know. But he had done plenty to deserve his fate.
He's also refusing to meet with Biden. This is about politics for DeSantis, so that he can complain that Biden and Harris aren't doing their jobs.