In a typical high school, AP CS principles would be a year course, while AP CS A would be another year course, for a total of two years instead of four. Your high school apparently teaches AP CS A slowly, so that it takes up more schedule space and crowds out other courses, like actual foreign language.