@Martin ,
The reason should be that you configure browser as default app used to open Word, Excel and PowerPoint files that have been shared in Microsoft Teams.
You can check the default app in your client by click …(More attachment options) next to the file > click Open in. If you want to change the default app, click Change default to modify the app. The following image is for reference:
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.