That's because of the scale degrees and functions. A scale always starts with a chord in which key the scale is in.
A major key chord formula I-ii-iii-IV-V- vi- vii dim
A minor key chord formula i- ii dim- III- iv-v-VII
Uppercase means a mjor chord, and lowercase is a minor.