Per my knowledge and test, identifying whether a list or a library is created from the Teams app or from the UI of Team's connected SharePoint site is not available.
A list or a library created from the Teams app or created from the UI of Team's connected SharePoint site looks essentially the same.
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.