Fragmentation does not (can't) happen with SSDs in the way HDDs do, if anything it shortens its lifespan when used, you should only TRIM SSDs (Windows does this automatically or you can check under disk options/tools/optimize).
Not too sure what "SSD optimizer" apps do exactly, like Auslogics', but I guess they just trigger the TRIM command.