That's not good.
Can you clear the phones system files cache please and then see what happens.
Clear your System File Cache vai the instructions in the Samsung Link. You may need to hook upto a computer or insert your headphones to get to the recovery menu. https://www.samsung.com/uk/support/mobile-devices/how-do-i-clear-the-cache-on-my-device/
Current Phone > Samsung Z Fold³ 5G. > Software : Android 12 ~ Samsung One Ui 4.