It's possible that upon first install of Facebook app you denied permission to use the camera.
You can try uninstalling and then reinstalling the app. Or, depending on your Android OS version, Settings -> Apps & notifications -> Messenger -> Permissions. Make sure Camera is enabled.