Had the same problem… Usb-mouse did it, reset gamepad to default.
Xbox Controller lost all settings in sim on Xbox - Bug Reports / Hardware - Microsoft Flight Simulator Forums