Depth order error?

So I separated the inner and outer part of this shelled sphere. I didn’t like how it cast a shadow onto whatever is inside, so after fiddling I found this both enabled shadows and didn’t affect the inside object
Only for whatever reason it steals the cubemap/skybox/scene color and completely rerenders the half sphere. What’s going on?

I think you get a better results with one mesh and doubled sided rendering.