Laptop restarts when erasing partition in disk utility

I was trying to install ventura but when I go in disk utility to format my partition in APFS then it gets stuck at any process and restarts after some seconds, same happened with full installer and recovery installer

submitted by /u/IOS_HACKERJB
[link] [comments]