At the beginning of the Yellow penguins turn, they are next to the wall and so they choose to move their penguin to the closest free point on the Red line.