On the other hand, if someone murdered him, why wouldn't someplace outdoors be way better than a courthouse with security and cameras and all?
Unless the murderer is someone courthouse security trusts. Courthouse closes at 5:00. Waste the judge at 5:30. Casually leave. Drop the weapon in the trash miles away, securely wrapped in a McDonald's bag. Shut up.
Judges dying is usually a political message from SOMEBODY.
Left alone, judges seem to live to 90 or so.
Entirely different methods of operation. Yes, a professional hitman would spend a month just learning the judge's travel patterns. Then he'd probably just tie a grenade to his car and walk away. Another hitman would find a suitable position along the way and would make his attempt as the car stops at a red light, or when he parks at home. But if you look around most suburban residential areas, there aren't any highrises to use, and it's all hidden among trees. It's still possible to do, but it requires experience in such kind of stalking. Many, like myself, read about it and saw a few movies, but hardly anyone actually have done it.
An attack at his office is different. All that the killer needs to do is to get inside and to carry a suitable weapon with him. Getting inside a public building is not too complicated; getting a weapon carried in is also possible in many different ways. Those are separate, independent phases that have nothing to do with each other, and they can take as long as they take. The victim will be still at his office, every single day; and the killer is not risking anything as he is approaching the office, entering, and even as he is leaving - there is nothing to suspect him with. It's likely that the killer knew where security was after hours, and where it wasn't. Besides, who'd stop a plumber or a telephone repair man after hours? That's the best time for them to do their work.
One would think that a similar attack could be carried at judge's home. But that's possible only if one assumes that the doors at his home are easy to open, and that nobody else is present at his house. Both assumptions are probably false. If there are several family members inside, it's difficult to ensure that none of them calls 911 or presses a hidden alarm button (every house alarm setup has one.) A large team, with good preparation, could do it, but teams come with their own vulnerabilities. This was done by one operator.
Based on some quantity of crime fiction that I have read, the murder of the judge was done quite professionally. Nobody saw anything, and they don't have a suspect. If they check the video records they may find that someone wearing a disguise was entering and leaving the office. That disguise is gone, and the killer is out of town already (was gone, probably, before the body was found.) There is nothing to connect the killer and the judge, besides someone who had a problem and who paid some Bitcoins to someone unknown for having this problem removed.