Be careful with your preconception of how Layers work in SketchUp.
They control visibility and nothing more.
More to the point, Layers do not separate/isolate SU’s sticky geometry.
Groups and Components keep things separate.
See these brief tutorials:
Components
Layers