SMART began life as an ATA/SATA protocol. But these connections are not that common today. Internal SSDs are either directly connected (e.g. Apple Silicon) or use NVMe (most PCs). SATA, if used at all, is typically used on PCs for secondary storage, because it is so much slower than NVMe.
That having been said… FireWire’s data-level protocol is SCSI. SCSI doesn’t support SMART, per se, but it does have logging pages of data that report similar information. See also Wikipedia.
NVMe has its own version of SMART. (Wikipedia)
Thunderbolt and USB4 (which is Thunderbolt) are (as I mentioned above) effectively external PCIe buses. So it can support anything a PCIe bus does, including SMART (passing the NVMe or ATA data over that TB/PCIe connection as it would for a PCIe slot).
USB 2 and 3 don’t have SMART as a part of the mass-storage specification, but modern USB devices usually support the UAS (USB-attached-SCSI) protocol. This allows a connected computer to use SCSI protocols, including the logging pages that carry SMART-like data, instead of the old mass-storage spec, providing much better performance.
Most USB3 (and some USB2) enclosures support UAS. They will typically translate a hard drive’s (SATA-based) SMART data to the corresponding SCSI data. So a connected computer can get the data. For some reason, macOS has never included the host-side software to read that information, even though it supports SCSI and UAS. This means you need third-party software (like the open source SAT-SMART driver) in order to read that data and give it to the rest of macOS.
Surprisingly, according to Micromat, many USB NVMe enclosures do not translate SMART data to SCSI data, so SMART data won’t be available with them, even with the SAT-SMART device driver.
The SAT-SMART driver’s main code repository hasn’t changed since December 2016, so it isn’t useful today on modern versions of macOS, but a few publishers of drive utilities have made their own forks from the code to keep it compatible with current Macs and have made it available for use with their tools, including:
You may need to buy a license to one of the above products in order to legally get their version of the driver.
installation may be a little tricky (the DriveDx page I linked to includes the procedure), but once installed, the SMART data will be available to any software that makes the macOS API calls to read it.