NBA players don't have the greatest track record of throwing out first pitches at baseball games. Hard to forget John Wall's incredible failure.
Johnson, obviously a bit embarrassed by his effort, called for another shot. He got the ball back and wound up again.
And threw it into the stands -- on purpose. Smart idea. Don't humiliate yourself any further with another bad throw, and get the fans back on your side by giving them a souvenir.