As you had no reply … my first thought was might this be a hangover from the last installed OS or firmware ? Firstly were you sure to Format data at install ? This last point especially if you did not come from Stock ROM.
I do not think any Setting would cause a random restart, but certainly progressively uninstalling recent apps is a good idea. (Maybe also run CacheCleaner, https://f-droid.org/en/packages/com.github.bmx666.appcachecleaner/ but this is more often useful following an /e/OS update.)
On a Samsung a Soft reset can work around some difficulties, no data is lost except any unsaved work, Vol Down + Power .
You don’t say if you installed Android (10) Q or Android 11 (R). Regarding TWRP, when the /e/OS builds were introduced, TWRP v 3.5 was then current for Android 10, v 3.6 for Android 11.
Might be worth checking Settings > Storage, A custom ROM might require more “headroom”, probably overcautious but I regard 85%, or so, as a sensible top limit.
If you think you might need to go back to fundamentals the install page, https://doc.e.foundation/devices/a5y17lte/install includes a link to a Stock ROM, on Windows this would be installed with Odin.