YouTube search engine depends on various aspects, some of the major ones are - the number of vies a video has, number of subscribers a youtuber has, number of views their earlier videos had, region it has been published in, the length of the video, number of comments the video has, number of likes and the tags they have used.
Depending on this your video might be placed higher or lower in searches.