What happened

Shares of electric-car company Tesla (TSLA -3.55%) jumped on Tuesday, rising as much as 5.5%. As of 11:10 a.m. EDT, the stock was up 4.1%.

The stock's gain follows a judge's approval of Tesla and CEO Elon Musk's recent settlement with the Securities and Exchange Commission (SEC). The approved settlement is related to the suit the SEC brought against Musk regarding his tweets about considering taking the company private.

Tesla vehicles, including the Model 3, Tesla Semi, Model S, and Model X

Tesla vehicles. Image source: Tesla.

So what

There were concerns about the settlement's approval because, not long after the parties agreed on its terms, Musk mocked the SEC on Twitter, calling the agency the "Shortseller Enrichment Commission." The "name change is so on point!" Musk said. After this tweet, shares took a hit and fell by about 7%. 

The judge's approval of the settlement means the terms, which include orders for improved company oversight of Musk's communications, a $20 million fine, Musk's resignation from Tesla's chairman position without eligibility for re-election for three years, and more, represent the final judgment.

Now what

By putting the settlement behind it, Tesla can move past this distraction and focus entirely on business execution. The company is ramping up its important Model 3 vehicle production and is aiming to achieve profitability in the second half of the year. Indeed, Tesla may have already achieved profitability for its recently ended third quarter, but the automaker hasn't reported financial results for the period yet.