The yellow and red doors are in a way that makes them one-way. The red door has a platform above, acting as the one-way gate preventing entry to it. The yellow door can only be entered in from below.