Why change direction of the cookies in the package You get 6 less cookies for the same price?

You are looking at it as how many cookies you get for the dollars, but the people doing the packaging are thinking how many dollars they can get for the cookies.