To replicate: Place a stone brick block (Block A), leave a gap, and place another block (Block B) across from the stone brick block. Then place a trapdoor on the side of block B facing Block A and interact with it to leave the trapdoor in a downwards position. The trapdoor with then have a black texture on the side facing Block A. Consistently recreatable.
This issue is being tracked at MCPE-218916.