Because Game Freak wanted it that way.
I'm not sure,but possibly when they first designed the game, maybe it had tall grass/didn't connect to the sea? Or maybe Game Freak is just like "Oh, even though all the other routes that connect to the sea and have no tall grass are sea routes, THIS ONE ISN'T."
Pretty sure that it's just Game Freak.