Hello @asaf,
This is by design and conflict behavior of Teams Files Tab and Graph API are different in nature.
You share the feedback using our Unified feedback portal, Microsoft Engineering will look into the matters https://feedbackportal.microsoft.com/feedback/ .
Hope this helps.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".