A jarring thought is to have a harsh, unpleasant or disturbing effect on a person's feelings, thoughts or nerves.
For example the news of my sister's cancer diagnoses was both jarring and devastating.
A jarring sight, sound, or experience is so different or unexpected that it has a strong and unpleasant effect on something or someone: a jarring cry/chord. jarring colors. a jarring experience.