Component created with NewObject is invisible

The attachment and transform are the same in both cases.
Something interesting, when I double-click the object in the hierarchy, it doesn’t focus the camera on it, like it can’t find it.