Using Disk Utility in macOS to erase your SSD only modifies the structure of the partition & only writes a minimal amount of data to the drive. So there is no huge wear & tear on the SSD with the Disk Utility erase....the real wear comes from installing macOS which writes 20GBs of data during the install....more when restoring your data from a backup.
Trying to securely erasing an SSD by writing zeroes to the entire SSD is what causes the excess wear for no reason at all since it is impossible to access all of the SSD's storage cells due to how SSDs work (Disk Utility hasn't allowed a secure erase of SSDs for years). Many SSDs have a built-in hardware secure erase/sanitize feature, but that requires the use of the vendor's proprietary software to access it or a Linux system.
When you encounter issues with your Mac, you may want to run the third party app EtreCheck and post the complete report here so forum contributors can provide an analysis of the report to attempt to figure out the cause of any issues.
How to use the Add Text Feature When Posting an EtreCheck Report - Apple Community