Sometimes I see application is getting closed when any button is clicked

When do click or tap on Some buttons like //XCUIElementTypeButton[@name=“Save”] or //XCUIElementTypeButton[@name=“Today”] my application is getting closed. I don’t see any crash in simulator logs nor on appium console. Test terminates in next saying element not found(it is obvious as application is already closed so there is nothing on screen)
Anyone faced similar problems.