Easier order to start next stroke is chosen there.
Writing letters top-down (and right-to-left) has long been the only way for Japanese until late 18th century (Wikipedia). Try following that way and you'll feel the difference in order reasonable. If you use a writing brush, it'll be more convincing.