I don’t think Kylo would have known Chewie was on the ship though. When Chewie was being (stupidly) captured, Kylo was 40,000 miles away, (stupidly) trying to get a running start to (stupidly) try to mow Rey down (but not really! …Stupidly.) So in my mind, Kylo crashed, strolled up cool as a cucumber, saw that Rey was trying to hold onto a transport ship, and thought, “Oho, not so fast, Rey! You’ve got to be stronger than that if you’re going to help me murder your evil zombie grandfather clone!”
“Oh wait f*ck did they just say Chewie was on that ship?? Oh no! My quest to find more power has resulted in my killing one of my oldest friends. Perhaps the Dark Side is…wrong???”
I dunno, I’m just spitballing here. This whole sequence is one of the least thought out in the whole story, which is a pretty high bar in this film.