PC shutting down or restarting

This even happens under Linux! I’m using wine (aka proton) compatibility layer (version is caffe-7.18).
[System]
OS: openSUSE Tumbleweed 20221008 n/a
Arch: x86_64
Kernel: 6.0.0-1-default
Desktop: KDE
Display Server: wayland

[CPU]
Vendor: AuthenticAMD
Model: AMD Ryzen 9 5900X 12-Core Processor
Physical cores: 12
Logical cores: 24

[Memory]
RAM: 31.3 GB
Swap: 33.3 GB

[Graphics]
Vendor: AMD
OpenGL Renderer: AMD Radeon RX 6700 XT (navi22, LLVM 15.0.1, DRM 3.48, 6.0.0-1-default)
OpenGL Version: 4.6 (Compatibility Profile) Mesa 22.2.1
OpenGL Core: 4.6 (Core Profile) Mesa 22.2.1
OpenGL ES: OpenGL ES 3.2 Mesa 22.2.1
Vulkan: Supported