Cannot find elements on a particular screen of the app with Appium

There’s one screen on the app where no elements are found.

When I open the Inspector tool, no elements are found, and then the app crashes on this particular screen.

However, when I manually launch the app and navigate to this screen (when NOT using Appium), the app doesn’t crash. I can click the buttons on this particular screen (same app version and using the same simulator).

debug] [MJSONWP] Responding to client with driver.findElements() result: []
[HTTP] <-- POST /wd/hub/session/3b388455-a3c9-4b7f-9b44-5b6b682d215c/elements 200 5426 ms - 74 
[HTTP] --> POST /wd/hub/session/3b388455-a3c9-4b7f-9b44-5b6b682d215c/elements {"using":"name","value":"Add to Bag"}
[debug] [MJSONWP] Calling AppiumDriver.findElements() with args: ["name","Add to 

[debug] [XCUITest] Executing command 'findElements'
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id
[debug] [BaseDriver] Waiting up to 5000 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8100/session/F26FEC39-5229-4865-9F62-50DFEBEEBCDC/elements] with body: {"using":"name","value":"Add to Bag"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":"The application under test with bundle id '' is not running, possibly crashed","sessionId":"F26FEC39-5229-4865-9F62-50DFEBEEBCDC","status":889}