Maybe the Facebook app's settings on that device, specifically, the app's Log in with Facebook setting may be set to Disabled or Enabled (web only). When this setting is disabled, the Facebook app will not handle login requests from other apps, and the request will be sent to the web browser instead.
You can check and change this setting by following these steps:
1- Open the Facebook app on the device
2- Tap on the three horizontal lines in the top right corner of the screen to open the menu
3- Scroll down to the "Settings & Privacy" section and tap on "Settings"
4- Scroll down to the "Media and Contacts" section and tap on "Apps and Websites"
5- Under "Log in with Facebook", ensure the toggle is enabled.
Another reason that this may be happening is that the app is using an older version of the Facebook SDK. Make sure that you are using the latest version of the Facebook SDK. This version of the SDK will allow you to specify the behavior of the login flow, whether it should open in the Facebook app or in the browser.