because in second phase of mitosis (which is metaphase) the chromatids meet each other in the middle, creating the X shape. it doesn't have an X shape in the end because in the 3rd phase of mitosis (which is anaphase) the chromatids split apart from each other.