My iphone 15 pro max flashing white and turning off
So i got my iphone 15 pro max in april for my birthday and since my phone has been acting weird, like things i havent seen on my old iphone 13 pro, it flashes white rarely when i turn off my phone (it has happened like 5 times or less) randomly and today i wanted to turn on my phone just to use it and it completely just turned off and it took a while to turn back on. Is this like a manufacturing problem or is my phone the only one going through this? knowing this i wouldve stayed with my old phone.
P.S. my phone storage is half or less so it couldn’t be the storage bug where phones would turn off
iPhone 15 Pro Max, iOS 17