You have a valid point. Getting out and pursuing the fight is often the best option. The problem here is it would probably land you in very deep legal hot water. That’s because the moment you step outside your vehicle (or home) and go on the offensive you lose your Castle Doctrine protection to use force (including deadly force).
You can “stand your ground” if you are on foot in a public place. That’s considered defensive.
Basically, a normal citizen here can only use force to defend. Only Law Enforcement Officers can use force offensively under some conditions.
So, for now you pretty much stuck in your vehicle if Mr. Crack Addict Carjacker shows up.
Speaking of car jackings, Ithaca made a double barrel shotgun pistol called the “Auto & Burglar.” (1922-1933) They are collector’s items now. It’s the oldest weapon I know of that was specifically made to defend against carjackers.
Highwaymen, stagecoach robbers, carjackers… the names change over the years but not much else.