If the government has full monopoly on everything rail related, then connecting two places becomes a political question. It may not make economic sense, but in the big picture of an entire country and its internal politics it might be a sensible thing to do regardless.