He is acting more rude distant as Khem affects him and what he has faced in past or what happened to his mom because of the backlash and she told him to never have a fa** is making it more difficult for him to accept his feelings.
"for where there is kindness there is goodness and where are is goodness there is magic"