Very odd. I would be a bit concerned that the SSD may be failing since its SMART Status was not supported which is unusual for an Apple OEM SSD. Plus the weirdness of the volume appearing as orange indicating an external volume.
Is that SSD the one which shipped with that laptop from the factory?
FYI, your picture of Disk Utility shows an older version (macOS 10.12 or earlier). Maybe if you were using macOS 10.13+ and APFS file system, then it may be due to the older OS not being able to properly interpret the new drive layout although I would expect it to be able to determine the SMART Status. To attempt to properly recreate the partition table & file system, you need to use the "Partition" option where you create a single GUID partition and the MacOS Extended (Journaled) file system since the "Erase" feature in the older OS only works on the existing volume unlike later versions of macOS 10.13+. Here is an article which explains that process which applies to macOS 10.6 - 10.12.
https://eshop.macsales.com/tech_center/formatting/Mac_Formatting_6-10_R3.pdf
However, macOS & Disk Utility sometimes have difficulties erasing the physical drive when something goes wrong or there is an unexpected value somewhere. If you are familiar with the command line, then you can just write zeroes to the beginning of the drive to destroy the partition table using "dd" (most times that will work, but once in a while another OS may be required to destroy the existing partition table as you discovered).