But it’s also hideously expensive. Plutonium is, apparently, one of the safer ways to build these things, because it is easy to shield, and the power density is good. But plutonium, as it’s not naturally occurring, is stratospherically expensive.
Additionally, the decay product of Pu-238 is U-234. Though a relatively 'safe' alpha emitter, it's half-life is ~200,000 years.
Note: With alpha emitters, it's 'safe' if it's outside your body, your skin can absorb it. But once you eat or inhale it, you get the full blast right into the quickest dividing cells in your body.
The first nuclear bombs cost billions of dollars each.
I wish I could say that’s a good thing. But no, after the first of them, nuclear weapons seem to have justified their own existence, no matter the cost.
I would rather see remaining weapons material repurposed as deep-space power sources. If that were to solve problems.
There's a lot of waste heat put out by RTG. The one powering Perseverance has an output of about 110W but thermocouples have about 5% efficiency so there's ~1900W of heat you have to deal with. For a fridge the running power can be almost double that it's just completely silly on Earth except for odd places like the lighthouses along Russia's northern coast where there was no way to get a grid connection, not enough sun for solar, and suppling diesel constantly was impractical.
There's a TON of power generation alternatives that look much better both from the "trying to not give you a lot of cancer" standpoint and the "efficiency is something we care about" standpoint. Most RTGs make about 3 to 6% efficiency, while a random Amazon 100w solar panel will give you 15/22% without most of the risks.
The main reason this are used vs (or sometimes along!) other technologies is that they function rather happily in super crappy conditions we don't -unless some world-ending event happens soonish- usually have on Earth.
So the question stands and extends to include this: "why not?"