It’s as simple as the subject describes. Works for .stl, but not for .obj.
Why would one need .obj instead of .stl ?
Stl files do not contain custom vertex normals, but .obj files should. Custom vertex normals help avoiding shading artifacts when CAD models are rendered in external render engines.