There is no official document explain about why we cannot use Skype ID to search in Teams client. Based on my knowledge, Skype ID can only search user in Skype client. It is set by design. You could read this article to know more details about it.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.