Echolalia is the repetition of phrases, words or parts of words. There are many possible medical reasons for it including:
Echolalia or repetition of words is the act of repeating words, phrases, or sounds, either immediately after hearing them or later. Individuals with ASD may use echolalia as a way to process or practice language, or as a form of self-stimulation. While it can be a normal part of language development, excessive echolalia may indicate difficulties in expressive communication or social understanding.