Different between StaticMesh(Placed by Editor) and StaticMesh(Generated by Code) in RayTracing

In my application, Lumen behaves inconsistently between StaticMesh(Placed by Editor) and StaticMesh(Generated by Code). Below, left is created in Editor, right is generated by my code and all is Movable StaticMesh.

Generated Distance Fields is ON and Hardware RayTracing is ON:

Generated Distance Fields is ON and Hardware RayTracing is OFF:

Generated Distance Fields is OFF and Hardware RayTracing is ON:

I think the reason is mesh distance fields. Am I right? Do I need generate distance field for my StaticMesh?