That changes you. Luke, as part of his journey, developed unhealthy coping mechanisms, something we all gravitate towards going through trauma. It took another individual pulling him out for him to begin to change.
I personally loved the character arc and was the most believable and relatable part of episodes 7-9 (outside of Leah and Han’s failed marriage, which we all saw coming).