Xiao esp32c3 won't upload programs unless I'm in bootloader mode

Unfortunately, I have the same problem and I could not upload the code to the board. I tried different methods and different OS but I don’t understand why the problem is not solved. Every time after uploading the code, the board enters the bootloader mode.