Okay. You may find helpful info by dmesg or journalctl -f. Following threads may also be helpful for you. You may see some improvement by keeping your RPM packages to the latest packages by running dnf upgrade especially as Fedora 39 is a beta version.
- [Announcement] Linux on your Framework Laptop 13 (AMD Ryzen 7040 Series)
- [Fedora 39] Official Fedora 39 Thread - Framework’s Fedora 39 top thread
- AMD Ryzen 7040 Series BIOS 3.03 BETA release - The issue might come from your BIOS 3.02.