A flat page → fed the right cues → the brain "sees" depth that isn't there
Hit the button. Square B doesn't move further away — it's still ink on a flat page. But once it sits higher up, goes smaller, and A overlaps it, your eye can't help but read B as behind.