New Contributor

When I am logged into the free version of MS Teams and have an invite for a meeting, if I click the JOIN button it takes me out of the app and into a browser window.  It then asks if I want to install the app (that is installed, and just left when I click JOIN).   Why can't I connect from the app directly without it opening a Browser window?  Please help!