What could be causing the constant restarts when using the Arduino IDE?

The issue has been solved by choosing correct board type (SparkFun ESP32-S3 Thing Plus)

Sparkfun support, would help tremendously if you will update your documentation

FixSparkFunManual