The Youtube algorithm looks at the interaction from the comment so that the comment can advance to the top rank. One of these interactions is comment replies, and the other is comment likes. The more responses or likes your comment gets, the more interaction rate will increase and it will be able to take its place in the first place.