Minecraft wiki entry for Thunderstorm_survival, associated text: If you are fortunate enough for a skeleton trap to appear next to a fence, you can activate the trap by approaching from the opposite side of the fence, and the skeleton horsemen don't attack across the fence (at least in Bedrock).