Texture also applying to separated object
You still have the same material on both objects. You can create a new material, if you need an entirely different material.

Or click on the plus button, to make a new material from the current material. Then there will be two separate materials for your two objects.
Documentation about materials.