I've made child gameObjects with BoxColider2D but when I press play these objects are transparent, but they are there because the player is touching it. in scene view they aren't

I’ve made child gameObjects with BoxColider2D, but when I press play, these objects are transparent, but they are there because the player is touching them. In scene view, they aren’t.