From watching the series I get the understand that Jordan was getting tired of the game already, he was basically relieved that the season was over, he should have been the happiest person alive to be the best player on a team that had three in a row, yet he looked more like "it is finally over", I think that plays a lot into him quitting basketball, when you see your job as something that is hurting you instead of seeing it as something fun, you start to question, and when you are as rich as Jordan and even when you stop you have a stream of income that still hasn't stopped in 2020, I guess it is only reasonable to quit whenever you want because you don't have to work, its not like he has to put food on the table by going to work, dude was a millionaire, he was making tens of millions outside of basketball every year. So combine that freedom to quit and that much money plus all the media backlash and all the troubles, it made sense for him to quit.
He already won their first 3-peat so there's nothing to proved at that point. He was the famous basketball player that time so we understand where he is coming from. No more competition and the passion is not there.
But when he quit he continue his sports, go to baseball (minor league), didn't work out, then decided to make a NBA comeback and chase their second 3-peat. Of course he still made a lot of money for his second comeback and again quiet his detractors the second time around.