It's the same reason there is weird lighting glitches with half slabs. I think the game recognizes the slab (or whatever block you're using) as a whole block as far as lighting is conserned. Its the same reason you can look through stairs and see whats on the other side without light coming through