They lost that money because they had to repay massive amount of debt early in the year. They did that successfully and once that debt was payed they were profitable.
What matters is that they produce lots of cars and the cars have a better then expected profit margin, focusing on anything else is simply foolish.