Order of Panda Series

Why does the order of printing of a Series suddenly changes incase of misalignment of indexes like in this case where an extra planetX was introduced into the mass series, basically what exactly happens in the background while printing the series in such cases?

Thank you :v:

Similar to : Index order while merging multiple pandas series into dataframe