You might have a look at the Blocks section in the manual:
https://docs.librecad.org/en/latest/guides/blocks.htmlThe libraries are contributions from other users and they may not have followed the intended block functionality. They can also be very different, if they were built by different contributors.
So what you describe is intended by blocks design. Probably the component library is built with entities on layer contour.
When you add a component, all layers from the block are imported too, and the block entities keeps these layers.
What you add to the components layer is called an INSERT, namely a reference to the block.
Means the block is owned by components layer and the block entities stay on the contour layer.
No matter which layer you delete, the added component disappear and the other layer becomes empty.
You can elaborate with contour layer properties, e.g. when you change the color of the contour layer, the component will change its color too. Provided the block entities use By Layer or By Block in attributes.
The solutions are to live with the additional layer or to modify the blocks in the library to your own needs.
If you keep the contour layer, the components will react to the components layer too, because the insert is on the components layer.
If you work on schematics, you might have a look at
KiCad EDA, which is specialized for this kind of tasks and is as free as LibreCAD too.
investing less than half an hour into Search function can save hours or days of waiting for a solution